Groups Python Module

Contains model for groups.

class pacifica.metadata.orm.groups.Groups(*args, **kwargs)[source]

Groups model and associated fields.

Attributes:
Name Description
name name of the group
is_admin does the group has admin abilities
encoding encoding for the group name
DoesNotExist

alias of GroupsDoesNotExist

_meta = <peewee.Metadata object>
_schema = <peewee.SchemaManager object>
created = <ExtendDateTimeField: Groups.created>
deleted = <ExtendDateTimeField: Groups.deleted>
encoding = <CharField: Groups.encoding>
from_hash(obj)[source]

Convert the hash into the object.

id = <AutoField: Groups.id>
instrument_members
is_admin = <BooleanField: Groups.is_admin>
members
name = <CharField: Groups.name>
projects
to_hash(**flags)[source]

Convert the object to a hash.

updated = <ExtendDateTimeField: Groups.updated>
classmethod where_clause(kwargs)[source]

PeeWee specific where clause used for search.