Project Group Python Module

Project group relationship.

class pacifica.metadata.orm.project_group.ProjectGroup(*args, **kwargs)[source]

Relates projects and groups objects.

Attributes:
Name Description
group Link to the Group model
project Link to the Project model
DoesNotExist

alias of ProjectGroupDoesNotExist

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

Convert the hash into the object.

group = <ForeignKeyField: ProjectGroup.group>
group_id = <ForeignKeyField: ProjectGroup.group>
project = <ForeignKeyField: ProjectGroup.project>
project_id = <ForeignKeyField: ProjectGroup.project>
to_hash(**flags)[source]

Convert the object to a hash.

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

Where clause for the various elements.