Transaction Key Value Python Module

TransactionKeyValue links Transactions and Keys and Values objects.

class pacifica.metadata.orm.trans_key_value.TransactionKeyValue(*args, **kwargs)

TransactionKeyValue attributes are foreign keys.

Attributes:
Name Description
transaction Link to the Transactions model
key Link to the Keys model
value Link to the Values model
DoesNotExist

alias of TransactionKeyValueDoesNotExist

static elastic_mapping_builder(obj)

Build the elasticsearch mapping bits.

from_hash(obj)

Convert the hash into the object.

to_hash(**flags)

Convert the object to a hash.

classmethod where_clause(kwargs)

Where clause for the various elements.