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: object

The identity of a connected module, and its live state as the robot reports it.

data is the module’s own state, which differs by module type: a Temperature Module’s currentTemperature and targetTemperature, a Magnetic Module’s engaged and height, and every module’s status. It does not take part in comparisons, as it changes while the identity stays.

Attributes

Methods

__init__(id, module_type, model, ...)

from_response(data)

Parameters: