Skip to content

Commit

Permalink
fix(api): MoveToAddressableArea noop not raise (#14015)
Browse files Browse the repository at this point in the history
This lets us test the parts of the frontend that require the command.
  • Loading branch information
sfoster1 authored Nov 16, 2023
1 parent 12a630b commit 388d106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import TYPE_CHECKING, Optional, Type
from typing_extensions import Literal

# from ..types import DeckPoint
from .pipetting_common import (
PipetteIdMixin,
MovementMixin,
Expand Down Expand Up @@ -48,7 +47,7 @@ async def execute(
self, params: MoveToAddressableAreaParams
) -> MoveToAddressableAreaResult:
"""Move the requested pipette to the requested addressable area."""
raise NotImplementedError()
return MoveToAddressableAreaResult()


class MoveToAddressableArea(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class Params(BaseModel):
namespace: Optional[str]
version: Optional[int]
pushOut: Optional[float]
# schema v8 add-ons
addressableAreaName: Optional[str]


class Command(BaseModel):
Expand Down

0 comments on commit 388d106

Please sign in to comment.