geonature.core.gn_commons.models.base

Contenu

geonature.core.gn_commons.models.base#

Modèles du schéma gn_commons

Attributes#

Classes#

Functions#

Module Contents#

class geonature.core.gn_commons.models.base.BibTablesLocation[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 'bib_tables_location'[source]#
__table_args__[source]#
id_table_location[source]#
table_desc[source]#
schema_name[source]#
table_name[source]#
pk_field[source]#
uuid_field_name[source]#
geonature.core.gn_commons.models.base.cor_module_dataset[source]#
class geonature.core.gn_commons.models.base.CorModuleDataset[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 'cor_module_dataset'[source]#
__table_args__[source]#
id_module[source]#
id_dataset[source]#
geonature.core.gn_commons.models.base._resolve_import_cor_object_module()[source]#
class geonature.core.gn_commons.models.base.TModules[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_modules'[source]#
__table_args__[source]#
class base_defaultdict[source]#

Bases: collections.defaultdict

Avoid polymorphic error when polymorphic identities are declared in database but absent from venv: fallback on base identity. Taken from CTFd.

__missing__(key)[source]#
type[source]#
__mapper_args__[source]#
id_module[source]#
module_code[source]#
module_label[source]#
module_picto[source]#
module_desc[source]#
module_group[source]#
module_path[source]#
module_external_url[source]#
module_target[source]#
module_comment[source]#
active_frontend[source]#
active_backend[source]#
module_doc_url[source]#
module_order[source]#
ng_module[source]#
meta_create_date[source]#
meta_update_date[source]#
objects[source]#
__str__()[source]#
class geonature.core.gn_commons.models.base.TMedias[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_medias'[source]#
__table_args__[source]#
id_media[source]#
id_nomenclature_media_type[source]#
id_table_location[source]#
unique_id_media[source]#
uuid_attached_row[source]#
title_fr[source]#
title_en[source]#
title_it[source]#
title_es[source]#
title_de[source]#
media_url[source]#
media_path[source]#
author[source]#
description_fr[source]#
description_en[source]#
description_it[source]#
description_es[source]#
description_de[source]#
is_public[source]#
meta_create_date[source]#
meta_update_date[source]#
static base_dir()[source]#
__before_commit_delete__()[source]#
remove_file(move=True)[source]#
remove_thumbnails()[source]#
class geonature.core.gn_commons.models.base.TParameters[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_parameters'[source]#
__table_args__[source]#
id_parameter[source]#
id_organism[source]#
parameter_name[source]#
parameter_desc[source]#
parameter_value[source]#
parameter_extra_value[source]#
class geonature.core.gn_commons.models.base.TValidations[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_validations'[source]#
__table_args__[source]#
id_validation[source]#
uuid_attached_row[source]#
id_nomenclature_valid_status[source]#
nomenclature_valid_status[source]#
id_validator[source]#
validator_role[source]#
validation_auto[source]#
validation_comment[source]#
validation_date[source]#
validation_label[source]#
static auto_validation(fct_auto_validation)[source]#
geonature.core.gn_commons.models.base.last_validation_query[source]#
geonature.core.gn_commons.models.base.last_validation[source]#
class geonature.core.gn_commons.models.base.VLatestValidations[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 'v_latest_validation'[source]#
__table_args__[source]#
id_validation[source]#
uuid_attached_row[source]#
id_nomenclature_valid_status[source]#
id_validator[source]#
validation_comment[source]#
validation_date[source]#
class geonature.core.gn_commons.models.base.THistoryActions[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_history_actions'[source]#
__table_args__[source]#
id_history_action[source]#
id_table_location[source]#
uuid_attached_row[source]#
operation_type[source]#
operation_date[source]#
table_content[source]#
class geonature.core.gn_commons.models.base.TMobileApps[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_mobile_apps'[source]#
__table_args__[source]#
id_mobile_app[source]#
app_code[source]#
relative_path_apk[source]#
url_apk[source]#
url_settings[source]#
package[source]#
version_code[source]#
class geonature.core.gn_commons.models.base.TPlaces[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 't_places'[source]#
__table_args__[source]#
id_place[source]#
id_role[source]#
role[source]#
place_name[source]#
place_geom[source]#
class geonature.core.gn_commons.models.base.BibWidgets[source]#

Bases: geonature.utils.env.DB.Model

__tablename__ = 'bib_widgets'[source]#
__table_args__[source]#
id_widget[source]#
widget_name[source]#
__str__()[source]#
geonature.core.gn_commons.models.base.cor_field_object[source]#
geonature.core.gn_commons.models.base.cor_field_module[source]#
geonature.core.gn_commons.models.base.cor_field_dataset[source]#