pylabrobot.opentrons.DoorStatus.from_response#
- classmethod DoorStatus.from_response(data: Dict[str, Any]) DoorStatus#
Parse the
dataobject ofGET /robot/door/status.- Parameters:
- Raises:
OpentronsProtocolError – If the status is neither “open” nor “closed”, or the requirement is not a boolean.
- Return type: