Skip to content

Commit

Permalink
Type dropTip and dropTipInPlace errors more precisely.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Nov 14, 2024
1 parent af9924e commit 132ee06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/opentrons/protocol_engine/commands/drop_tip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down

0 comments on commit 132ee06

Please sign in to comment.