Keywords Python Module

Keywords linked to citations.

class pacifica.metadata.orm.keywords.Keywords(*args, **kwargs)

Keywords Model.

Attributes:
Name Description
citation Link to the Citation model
keyword keyword in the citation
encoding encoding of the keyword
DoesNotExist

alias of KeywordsDoesNotExist

static elastic_mapping_builder(obj)

Build the elasticsearch mapping bits.

from_hash(obj)

Convert the hash to the object.

to_hash(**flags)

Convert the object to a hash.

classmethod where_clause(kwargs)

Where clause for the various elements.