model-service/model_service/schemas/svmdetails_schema.py
marcsello 782728e661
All checks were successful
continuous-integration/drone/push Build is passing
Fixed marshmallow stuff
2021-08-05 14:42:23 +02:00

14 lines
323 B
Python

#!/usr/bin/env python3
from marshmallow import fields
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
from model import SVMDetails
class SVMDetailsSchema(SQLAlchemyAutoSchema):
class Meta:
model = SVMDetails
include_relationships = True
load_instance = True
include_fk = True