Instrument Group Python Module

InstrumentGroup links Groups and Instruments and objects.

class pacifica.metadata.orm.instrument_group.InstrumentGroup(*args, **kwargs)

InstrumentGroup attributes are foreign keys.

Attributes:
Name Description
instrument Link to the Instrument model
group Link to the Group model
DoesNotExist

alias of InstrumentGroupDoesNotExist

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.