File tree Expand file tree Collapse file tree 2 files changed +9
-18
lines changed
api/src/opentrons/protocol_engine/commands Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,3 @@ class LabwarePositionResultMixin(LabwareHandlingResultMixin):
22
22
None ,
23
23
description = "An ID referencing the labware offset that will apply to this labware in this location." ,
24
24
)
25
-
26
-
27
- class LabwareMotionResultMixin (BaseModel ):
28
- """A result for commands that move a labware entity."""
29
-
30
- labwareId : str = Field (..., description = "The id of the labware." )
31
- newLocationSequence : LabwareLocationSequence | None = Field (
32
- None ,
33
- description = "the full location down to the deck of the labware after this command." ,
34
- )
35
- originalLocationSequence : LabwareLocationSequence | None = Field (
36
- None ,
37
- description = "The full location down to the deck of the labware before this command." ,
38
- )
39
- offsetId : str | None = Field (
40
- None ,
41
- description = "An ID referencing the labware offset that will apply to this labware in the position this command leaves it in." ,
42
- )
Original file line number Diff line number Diff line change 26
26
LabwareMovementStrategy ,
27
27
LabwareOffsetVector ,
28
28
LabwareMovementOffsetData ,
29
+ LabwareLocationSequence ,
29
30
)
30
31
from ..errors import (
31
32
LabwareMovementNotAllowedError ,
@@ -100,6 +101,14 @@ class MoveLabwareResult(BaseModel):
100
101
" so the default of (0, 0, 0) will be used."
101
102
),
102
103
)
104
+ newLocationSequence : LabwareLocationSequence | None = Field (
105
+ None ,
106
+ description = "the full location down to the deck of the labware after this command." ,
107
+ )
108
+ originalLocationSequence : LabwareLocationSequence | None = Field (
109
+ None ,
110
+ description = "The full location down to the deck of the labware before this command." ,
111
+ )
103
112
104
113
105
114
class GripperMovementError (ErrorOccurrence ):
You can’t perform that action at this time.
0 commit comments