DOI Transaction Python Module

DOI transaction relationship.

class pacifica.metadata.orm.doi_transaction.DOITransaction(*args, **kwargs)[source]

Relates DOI entries with transaction release entries.

Attributes:
Name Description
doi Link to the DOI model
transaction Link to the TransactionRelease model
DoesNotExist

alias of DOITransactionDoesNotExist

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

Convert the hash into the object.

to_hash(**flags)[source]

Convert the object to a hash.

transaction = <ForeignKeyField: DOITransaction.transaction>
transaction_id = <ForeignKeyField: DOITransaction.transaction>
updated = <ExtendDateTimeField: DOITransaction.updated>
classmethod where_clause(kwargs)[source]

Where clause for the various elements.