Transaction, Submitter, Instrument, Project Python Module

TransSIP model.

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

TransSIP model class.

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

alias of TransSIPDoesNotExist

_meta = <peewee.Metadata object>
_schema = <peewee.SchemaManager object>
created = <ExtendDateTimeField: TransSIP.created>
deleted = <ExtendDateTimeField: TransSIP.deleted>

Convert the hash into the object.

id = <ForeignKeyField:>
id_id = <ForeignKeyField:>
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>

Convert the object to a hash.

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

Where clause for the various elements.