model-service/model_service/schemas/aimodel_schema.py

10 lines
203 B
Python
Raw Normal View History

2020-04-14 02:01:44 +02:00
#!/usr/bin/env python3
from marshmallow import fields
from marshmallow_sqlalchemy import ModelSchema
2020-04-14 13:48:11 +02:00
from model import AIModel
2020-04-14 02:01:44 +02:00
2020-04-14 13:48:11 +02:00
class AIModelSchema(ModelSchema):
2020-04-14 02:01:44 +02:00
class Meta:
2020-04-14 13:48:11 +02:00
model = AIModel