User Group Python Module¶
UserGroup links Groups and Users and objects.
-
class
pacifica.metadata.orm.user_group.
UserGroup
(*args, **kwargs)¶ UserGroup attributes are foreign keys.
- Attributes:
Name Description person Link to the Users model group Link to the Groups model
-
DoesNotExist
¶ alias of
UserGroupDoesNotExist
-
static
elastic_mapping_builder
(obj)¶ Build the elasticsearch mapping bits.
-
from_hash
(obj)¶ Convert the hash into the object.
-
to_hash
(**flags)¶ Convert the object to a hash.
-
classmethod
where_clause
(kwargs)¶ Where clause for the various elements.