pylabrobot.opentrons.OT2Module.__init__#
- OT2Module.__init__(name: str, model: Literal['temperatureModuleV1', 'temperatureModuleV2', 'magneticModuleV1', 'magneticModuleV2'], serial_number: str | None = None) None#
- Parameters:
name (str) – the module’s name in the resource tree.
model (Literal['temperatureModuleV1', 'temperatureModuleV2', 'magneticModuleV1', 'magneticModuleV2']) – the module’s model, as the robot names it.
serial_number (str | None) – the serial number of the module standing in this slot, for a robot with two of the model connected. None to take the one the robot loads for the slot.
- Raises:
ValueError – If
modelis not an OT-2 module this driver knows.- Return type:
None