Proposal Instrument Python Module

Proposal instrument relationship.

class pacifica.metadata.orm.proposal_instrument.ProposalInstrument(*args, **kwargs)

Relates proposals and instrument objects.

Attributes:
Name Description
instrument Link to the Instrument model
proposal Link to the Proposal model
DoesNotExist

alias of ProposalInstrumentDoesNotExist

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.