From cf4aba5ba5017d04b50ae44afcc472ddacb59dff Mon Sep 17 00:00:00 2001 From: Laura Cox Date: Thu, 17 Oct 2024 20:26:34 +0300 Subject: [PATCH] bump api version to 2.21 --- api/src/opentrons/protocol_api/robot_context.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/opentrons/protocol_api/robot_context.py b/api/src/opentrons/protocol_api/robot_context.py index 4e2de69f7fe..ccbefaeb2b6 100644 --- a/api/src/opentrons/protocol_api/robot_context.py +++ b/api/src/opentrons/protocol_api/robot_context.py @@ -56,7 +56,7 @@ def __init__( self._api_version = api_version @property - @requires_version(2, 20) + @requires_version(2, 21) def api_version(self) -> APIVersion: return self._api_version @@ -67,7 +67,7 @@ def hardware(self) -> HardwareManager: # context commands. return self._hardware - @requires_version(2, 20) + @requires_version(2, 21) def move_to( self, mount: Union[Mount, str], @@ -88,7 +88,7 @@ def move_to( mount = validation.ensure_instrument_mount(mount) self._core.move_to(mount, destination.point, speed) - @requires_version(2, 20) + @requires_version(2, 21) def move_axes_to( self, axis_map: Union[AxisMapType, StringAxisMap], @@ -118,7 +118,7 @@ def move_axes_to( ) self._core.move_axes_to(axis_map, critical_point, speed) - @requires_version(2, 20) + @requires_version(2, 21) def move_axes_relative( self, axis_map: Union[AxisMapType, StringAxisMap],