geonature.core.gn_commons.schemas¶
Attributes¶
Classes¶
A field which tries to cast the value to int or float before returning it. |
|
Module Contents¶
- class geonature.core.gn_commons.schemas.ModuleSchema[source]¶
Bases:
geonature.utils.env.MA.SQLAlchemyAutoSchema
- class geonature.core.gn_commons.schemas.MediaSchema[source]¶
Bases:
geonature.utils.env.MA.SQLAlchemyAutoSchema
- class geonature.core.gn_commons.schemas.TValidationSchema[source]¶
Bases:
geonature.utils.env.MA.SQLAlchemyAutoSchema
- class geonature.core.gn_commons.schemas.BibWidgetSchema[source]¶
Bases:
geonature.utils.env.MA.SQLAlchemyAutoSchema
- class geonature.core.gn_commons.schemas.CastableField[source]¶
Bases:
marshmallow.fields.Field
A field which tries to cast the value to int or float before returning it. If the value is not castable, the default value is returned.