Transaction Release Python Module

Contains the model for metadata analytical tools.

class pacifica.metadata.orm.transaction_release.TransactionRelease(*args, **kwargs)

TransactionRelease model class for data release workflow.

Attributes:
Name Description
transaction transaction to be released
authorized_person authorized person originating the release
DoesNotExist

alias of TransactionReleaseDoesNotExist

static elastic_mapping_builder(obj)

Build the elasticsearch mapping bits.

from_hash(obj)

Convert the hash to the object.

to_hash(**flags)

Convert the object to a hash.

classmethod where_clause(kwargs)

PeeWee specific where clause used for search.