-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
756cf51
commit 9b6ebd4
Showing
3 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
from typing import List | ||
from typing import List, Union | ||
from typing_extensions import Protocol | ||
|
||
from opentrons.hardware_control.modules.types import ModuleAtPort | ||
from opentrons.hardware_control.modules.types import ( | ||
ModuleAtPort, | ||
SimulatingModuleAtPort, | ||
) | ||
|
||
|
||
class USBDriverInterface(Protocol): | ||
def match_virtual_ports( | ||
self, | ||
virtual_port: List[ModuleAtPort], | ||
virtual_port: Union[List[ModuleAtPort], List[SimulatingModuleAtPort]], | ||
) -> List[ModuleAtPort]: | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters