pypnusershub.db.models_register

Module Contents

Classes

TempUser

The base class of the SQLAlchemy.Model declarative model class.

CorRoleToken

The base class of the SQLAlchemy.Model declarative model class.

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 customize db.Model, subclass this and pass it as model_class to SQLAlchemy. To customize db.Model at the metaclass level, pass an already created declarative model class as model_class.

__tablename__ = 'temp_users'[source]
__table_args__[source]
id_temp_user[source]
token_role[source]
organisme[source]
id_application[source]
confirmation_url[source]
groupe[source]
identifiant[source]
nom_role[source]
prenom_role[source]
desc_role[source]
password[source]
pass_md5[source]
email[source]
id_organisme[source]
remarques[source]
champs_addi[source]
date_insert[source]
date_update[source]
set_password(password, password_confirmation, md5)[source]
is_valid()[source]
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 customize db.Model, subclass this and pass it as model_class to SQLAlchemy. To customize db.Model at the metaclass level, pass an already created declarative model class as model_class.

__tablename__ = 'cor_role_token'[source]
__table_args__[source]
id_role[source]
token[source]
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