pylabrobot.opentrons.ModuleInfo#
- class pylabrobot.opentrons.ModuleInfo(id: str, module_type: str | None = None, model: str | None = None, serial_number: str | None = None, data: Dict[str, ~typing.Any]=<factory>)#
Bases:
objectThe identity of a connected module, and its live state as the robot reports it.
datais the module’s own state, which differs by module type: a Temperature Module’scurrentTemperatureandtargetTemperature, a Magnetic Module’sengagedandheight, and every module’sstatus. It does not take part in comparisons, as it changes while the identity stays.Attributes
Methods
__init__(id, module_type, model, ...)from_response(data)