attune.Instrument

class attune.Instrument(arrangements: Dict[str, Union[attune._arrangement.Arrangement, dict]], setables: Optional[Dict[str, Optional[Union[attune._setable.Setable, dict]]]] = None, *, name: Optional[str] = None, transition: Optional[Union[attune._transition.Transition, dict]] = None, load: Optional[float] = None)[source]

Bases: object

__init__(arrangements: Dict[str, Union[attune._arrangement.Arrangement, dict]], setables: Optional[Dict[str, Optional[Union[attune._setable.Setable, dict]]]] = None, *, name: Optional[str] = None, transition: Optional[Union[attune._transition.Transition, dict]] = None, load: Optional[float] = None)[source]

Initialize self. See help(type(self)) for accurate signature.

property arrangements
as_dict()[source]

Dictionary representation for this Instrument.

property load
property name
save(file)[source]

Save the JSON representation into an open file.

property setables
property transition