2020-10-01 22:48:00 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
from marshmallow import fields
|
2021-08-05 14:42:23 +02:00
|
|
|
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
|
2020-10-01 22:48:00 +02:00
|
|
|
from model import SVMDetails
|
|
|
|
|
|
|
|
|
2021-08-05 14:42:23 +02:00
|
|
|
class SVMDetailsSchema(SQLAlchemyAutoSchema):
|
2020-10-01 22:48:00 +02:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
model = SVMDetails
|
2021-08-05 14:42:23 +02:00
|
|
|
include_relationships = True
|
|
|
|
load_instance = True
|
|
|
|
include_fk = True
|