Citation Project Python Module

Citation project relationship.

class pacifica.metadata.orm.citation_project.CitationProject(*args, **kwargs)[source]

Relates citations with projects.

Attributes:
Name Description
citation Link to the Citation model
project Link to the Project model
DoesNotExist

alias of CitationProjectDoesNotExist

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

Convert the hash into the object.

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

Convert the object to a hash.

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

Where clause for the various elements.