Instrument Custodian Python Module

Instrument custodian relationship.

class pacifica.metadata.orm.instrument_custodian.InstrumentCustodian(*args, **kwargs)

Relates proposals and instrument objects.

Attributes:
Name Description
instrument Link to the Instrument model
custodian User who is responsible for the instrument
DoesNotExist

alias of InstrumentCustodianDoesNotExist

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.