geonature.core.sensitivity.models
Module Contents
Classes
The base class of the |
|
The base class of the |
Functions
|
Attributes
- class geonature.core.sensitivity.models.SensitivityRule[source]
Bases:
geonature.utils.env.db.Model
The base class of the
SQLAlchemy.Model
declarative model class.To define models, subclass
db.Model
, not this. To customizedb.Model
, subclass this and pass it asmodel_class
toSQLAlchemy
. To customizedb.Model
at the metaclass level, pass an already created declarative model class asmodel_class
.
- class geonature.core.sensitivity.models.CorSensitivityCriteria(criteria=None, sensitivity_rule=None, nomenclature_type=None)[source]
Bases:
geonature.utils.env.db.Model
The base class of the
SQLAlchemy.Model
declarative model class.To define models, subclass
db.Model
, not this. To customizedb.Model
, subclass this and pass it asmodel_class
toSQLAlchemy
. To customizedb.Model
at the metaclass level, pass an already created declarative model class asmodel_class
.