Keywords Python Module

Keywords linked to citations.

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

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

_meta = <peewee.Metadata object>
_schema = <peewee.SchemaManager object>
citations
created = <ExtendDateTimeField: Keywords.created>
deleted = <ExtendDateTimeField: Keywords.deleted>
encoding = <CharField: Keywords.encoding>
from_hash(obj)[source]

Convert the hash to the object.

id = <AutoField: Keywords.id>
keyword = <CharField: Keywords.keyword>
to_hash(**flags)[source]

Convert the object to a hash.

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

Where clause for the various elements.