Project User Python Module

Project user relationship.

class pacifica.metadata.orm.project_user.ProjectUser(*args, **kwargs)[source]

Relates projects and users objects.

Attributes:
Name Description
user Link to the Users model
relationship Link to the Relationships model
project Link to the Projects model
DoesNotExist

alias of ProjectUserDoesNotExist

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

Convert the hash into the object.

project = <ForeignKeyField: ProjectUser.project>
project_id = <ForeignKeyField: ProjectUser.project>
relationship = <ForeignKeyField: ProjectUser.relationship>
relationship_id = <ForeignKeyField: ProjectUser.relationship>
to_hash(**flags)[source]

Convert the object to a hash.

updated = <ExtendDateTimeField: ProjectUser.updated>
user = <ForeignKeyField: ProjectUser.user>
user_id = <ForeignKeyField: ProjectUser.user>
uuid = <UUIDField: ProjectUser.uuid>
classmethod where_clause(kwargs)[source]

Where clause for the various elements.