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.

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

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>

Convert the hash into the object.

key = <CharField: DOIInfo.key>

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.