src.pypnnomenclature.schemas
Module Contents
Classes
SQLAlchemyAutoSchema that automatically generates marshmallow fields |
- class src.pypnnomenclature.schemas.NomenclatureSchema(*args, **kwargs)[source]
Bases:
pypnnomenclature.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.