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)[source]

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

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

Convert the hash into the object.

key = <CharField: DOIInfo.key>
to_hash(**flags)[source]

Convert the object to a hash.

updated = <ExtendDateTimeField: DOIInfo.updated>
value = <CharField: DOIInfo.value>
classmethod where_clause(kwargs)[source]

Where clause for the various elements.