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