pypnusershub.db.models_register
Module Contents
Classes
The base class of the |
|
The base class of the |
- class pypnusershub.db.models_register.TempUser[source]
Bases:
pypnusershub.db.models.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
.- as_dict(recursif=False, columns=(), depth=None)[source]
The signature of the function must be the as same the as_dict func from https://github.com/PnX-SI/Utils-Flask-SQLAlchemy
- class pypnusershub.db.models_register.CorRoleToken[source]
Bases:
pypnusershub.db.models.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
.- as_dict(recursif=False, columns=(), depth=None)[source]
The signature of the function must be the as same the as_dict func from https://github.com/PnX-SI/Utils-Flask-SQLAlchemy