Code source de geonature.core.gn_permissions.schemas

from marshmallow import fields, validates_schema, EXCLUDE

from geonature.utils.env import db, ma
from geonature.core.gn_permissions.models import PermObject


[docs] class PermObjectSchema(ma.SQLAlchemyAutoSchema):
[docs] class Meta:
[docs] model = PermObject
[docs] include_fk = True