Skip to content

Commit

Permalink
typing thing
Browse files Browse the repository at this point in the history
  • Loading branch information
y3rsh committed Aug 29, 2024
1 parent 4b1d5ff commit 40776f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions analyses-snapshot-testing/files/templates/partial_tip_rtp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dataclasses import dataclass
from typing import Optional
from typing import Any, Optional, Union
from opentrons.protocol_api import SINGLE, COLUMN, PARTIAL_COLUMN, ROW

metadata = {
Expand All @@ -13,6 +13,11 @@
}

####### RTP DEFINITIONS #######
# NozzleConfigurationType is from opentrons.hardware_control.nozzle_manager import NozzleConfigurationType
# do not want to import that as that interface or location might change
# type is not in shared-data
# cannot do the below
# ApiTipConfigType = Union[SINGLE, COLUMN, PARTIAL_COLUMN, ROW]


@dataclass
Expand All @@ -23,7 +28,7 @@ class PartialTipConfig:
description: str
starting_tip: str
starting_nozzle: str
api_tip_config: str
api_tip_config: Any
api_start: str
api_end: Optional[str]

Expand Down

0 comments on commit 40776f3

Please sign in to comment.