# Path: mass_flask_api/config.py
# class BasePathAPISpec(APISpec):
#     def to_dict(self):
# def api_root():
# def swagger():
# def api_unauthorized_callback():
# def before_request_set_unauthorized_callback():
# 
# Path: mass_flask_api/schemas/base.py
# class BaseSchema(ModelSchema):
#     class Meta:
#         model_skip_values = []
# 
# Path: mass_flask_core/models/analysis_system.py
# class AnalysisSystem(db.Document):
#     identifier_name = StringField(min_length=3, max_length=50, unique=True, required=True)
#     verbose_name = StringField(max_length=200, required=True)
#     information_text = StringField()
#     tag_filter_expression = StringField(max_length=400, required=True, default='')
# 
#     meta = {
#         'ordering': ['identifier_name'],
#         'indexes': ['identifier_name']
#     }
# 
#     def __repr__(self):
#         return '[AnalysisSystem] {}'.format(self.identifier_name)
# 
#     def __str__(self):
#         return self.__repr__()


from flask_marshmallow.fields import URLFor
from mass_flask_api.config import api_blueprint
from mass_flask_api.schemas.base import BaseSchema
from mass_flask_core.models import AnalysisSystem


class AnalysisSystemSchema(BaseSchema):
    url = URLFor('.analysis_system_detail', identifier_name='<identifier_name>', _external=True)

    class Meta(BaseSchema.Meta):

# Path: mass_flask_api/config.py
# class BasePathAPISpec(APISpec):
#     def to_dict(self):
# def api_root():
# def swagger():
# def api_unauthorized_callback():
# def before_request_set_unauthorized_callback():
# 
# Path: mass_flask_api/schemas/base.py
# class BaseSchema(ModelSchema):
#     class Meta:
#         model_skip_values = []
# 
# Path: mass_flask_core/models/analysis_system.py
# class AnalysisSystem(db.Document):
#     identifier_name = StringField(min_length=3, max_length=50, unique=True, required=True)
#     verbose_name = StringField(max_length=200, required=True)
#     information_text = StringField()
#     tag_filter_expression = StringField(max_length=400, required=True, default='')
# 
#     meta = {
#         'ordering': ['identifier_name'],
#         'indexes': ['identifier_name']
#     }
# 
#     def __repr__(self):
#         return '[AnalysisSystem] {}'.format(self.identifier_name)
# 
#     def __str__(self):
#         return self.__repr__()


# Path: mass_flask_api/schemas/analysis_system.py
from flask_marshmallow.fields import URLFor
from mass_flask_api.config import api_blueprint
from mass_flask_api.schemas.base import BaseSchema
from mass_flask_core.models import AnalysisSystem



class AnalysisSystemSchema(BaseSchema):
    url = URLFor('.analysis_system_detail', identifier_name='<identifier_name>', _external=True)

    class Meta(BaseSchema.Meta):

        model = AnalysisSystem