geonature.core.taxonomie.schemas

Module Contents

Classes

TaxrefSchema

SQLAlchemyAutoSchema that automatically generates marshmallow fields

class geonature.core.taxonomie.schemas.TaxrefSchema(*args, **kwargs)[source]

Bases: geonature.utils.env.MA.SQLAlchemyAutoSchema

SQLAlchemyAutoSchema that automatically generates marshmallow fields from a SQLAlchemy model’s or table’s column. Uses the scoped session from Flask-SQLAlchemy by default.

See marshmallow_sqlalchemy.SQLAlchemyAutoSchema for more details on the SQLAlchemyAutoSchema API.

class Meta[source]
model[source]
load_instance = True[source]
include_fk = True[source]