DOI Info Python Module

DOIInfo stores return info from the minting service about the DOI entry.

class pacifica.metadata.orm.doi_info.DOIInfo(*args, **kwargs)

DOI Info keys and values for return info from minting service.

Attributes:
Name Description
doi Link to the DOIEntries model
key Key name
value Value
DoesNotExist

alias of DOIInfoDoesNotExist

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.