You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-Flask/iti/applications/models/schema/user.py

13 lines
335 B
Python

from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
from ..sys_user import User
from ..sys_role import Role
from ..sys_rel_user_role import sys_user_role
class UserAutoSchema(SQLAlchemyAutoSchema):
class Meta:
model = User
include_fk = False
include_relationships = True
load_instance = False