From 132ee0610e321c6fff31f8905aacc5efcdb26923 Mon Sep 17 00:00:00 2001 From: Max Marrone Date: Thu, 14 Nov 2024 17:40:33 -0500 Subject: [PATCH] Type dropTip and dropTipInPlace errors more precisely. --- api/src/opentrons/protocol_engine/commands/drop_tip.py | 2 +- api/src/opentrons/protocol_engine/commands/drop_tip_in_place.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/opentrons/protocol_engine/commands/drop_tip.py b/api/src/opentrons/protocol_engine/commands/drop_tip.py index 1bfe2a49625..36b7a7c22c2 100644 --- a/api/src/opentrons/protocol_engine/commands/drop_tip.py +++ b/api/src/opentrons/protocol_engine/commands/drop_tip.py @@ -166,7 +166,7 @@ async def execute(self, params: DropTipParams) -> _ExecuteReturn: ) -class DropTip(BaseCommand[DropTipParams, DropTipResult, ErrorOccurrence]): +class DropTip(BaseCommand[DropTipParams, DropTipResult, TipPhysicallyAttachedError]): """Drop tip command model.""" commandType: DropTipCommandType = "dropTip" diff --git a/api/src/opentrons/protocol_engine/commands/drop_tip_in_place.py b/api/src/opentrons/protocol_engine/commands/drop_tip_in_place.py index e835bc7fba8..b0390632d6a 100644 --- a/api/src/opentrons/protocol_engine/commands/drop_tip_in_place.py +++ b/api/src/opentrons/protocol_engine/commands/drop_tip_in_place.py @@ -104,7 +104,7 @@ async def execute(self, params: DropTipInPlaceParams) -> _ExecuteReturn: class DropTipInPlace( - BaseCommand[DropTipInPlaceParams, DropTipInPlaceResult, ErrorOccurrence] + BaseCommand[DropTipInPlaceParams, DropTipInPlaceResult, TipPhysicallyAttachedError] ): """Drop tip in place command model."""