Analytical Tool Transaction Python Module

TransactionKeyValue links Transactions and Keys and Values objects.

class pacifica.metadata.orm.atool_transaction.AToolTransaction(*args, **kwargs)[source]

TransactionKeyValue attributes are foreign keys.

Attributes:
Name Description
transaction Link to the Transactions model
analytical_tool Link to the AnalyticalTools model
DoesNotExist

alias of AToolTransactionDoesNotExist

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

Convert the hash into the object.

to_hash(**flags)[source]

Convert the object to a hash.

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

Where clause for the various elements.