Values Python Module

Contains the model for metadata values.

class pacifica.metadata.orm.values.Values(*args, **kwargs)

Values model class for metadata.

Attributes:
Name Description
value generic value for some metadata
encoding language encoding of the value
DoesNotExist

alias of ValuesDoesNotExist

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)

PeeWee specific where clause used for search.