Transaction, Submitter, Instrument, Project Python Module

TransSIP model.

class pacifica.metadata.orm.transsip.TransSIP(*args, **kwargs)[source]

TransSIP model class.

Attributes:
Name Description
submitter User who submitted the transaction
instrument Instrument the transaction came from
project Project the transaction is for
suspense_date date the transaction is available
DoesNotExist

alias of TransSIPDoesNotExist

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

Convert the hash into the object.

id = <ForeignKeyField: TransSIP.id>
id_id = <ForeignKeyField: TransSIP.id>
instrument = <ForeignKeyField: TransSIP.instrument>
instrument_id = <ForeignKeyField: TransSIP.instrument>
project = <ForeignKeyField: TransSIP.project>
project_id = <ForeignKeyField: TransSIP.project>
submitter = <ForeignKeyField: TransSIP.submitter>
submitter_id = <ForeignKeyField: TransSIP.submitter>
to_hash(**flags)[source]

Convert the object to a hash.

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

Where clause for the various elements.