geonature.core.gn_meta.models.aframework#
Classes#
Module Contents#
- class geonature.core.gn_meta.models.aframework.TAcquisitionFramework[source]#
Bases:
geonature.core.gn_meta.models.commons.db.Model
- static get_id(uuid_af)[source]#
return the acquisition framework’s id from its UUID if exist or None
- static get_user_af(user, only_query=False, only_user=False)[source]#
get the af(s) where the user is actor (himself or with its organism - only himelsemf id only_use=True) or digitizer param:
user from TRole model
only_query: boolean (return the query not the id_datasets allowed if true)
only_user: boolean: return only the dataset where user himself is actor (not with its organoism)
return: a list of id_dataset or a query