DOI Author Mapping Python Module

Authors linked to DOI’s.

class pacifica.metadata.orm.doi_author_mapping.DOIAuthorMapping(*args, **kwargs)[source]

DOI Author Mapping Model.

Attributes:
Name Description
author ID from DOI_authors table
doi Full DOI Specifier
author_order where does this author go in the order?
DoesNotExist

alias of DOIAuthorMappingDoesNotExist

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

Convert the hash to the object.

to_hash(**flags)[source]

Convert the object to a hash.

updated = <ExtendDateTimeField: DOIAuthorMapping.updated>
classmethod where_clause(kwargs)[source]

Where clause for the various elements.