Citation Contributor Python Module

CitationContributor links citations and their authors.

class pacifica.metadata.orm.citation_contributor.CitationContributor(*args, **kwargs)

CitationsContributors data model.

Attributes:
Name Description
citation Link to the Citation model
author Link to the Contributor model
author_precedence Order of the Author in the Citation
DoesNotExist

alias of CitationContributorDoesNotExist

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.