Association

class jwst.associations.Association(version_id=None)[source]

Bases: collections.abc.MutableMapping

Association Base Class

Parameters:version_id (str or None) – Version_Id to use in the name of this association. If None, nothing is added.
Raises:AssociationError – If a item doesn’t match any of the registered associations.
instance

dict-like – The instance is the association data structure. See data below

meta

dict – Information about the association.

data

dict – The association. The format of this data structure is determined by the individual assocations and, if defined, valided against their specified schema.

schema_file

str – The name of the output schema that an association must adhere to.

registry

AssociationRegistry – The registry this association came from.

asn_name

str – The suggested file name of association

asn_rule

str – The name of the rule