wip -- more fixes
This commit is contained in:
parent
9efb6f0eeb
commit
6549faddbb
7 changed files with 72 additions and 42 deletions
|
|
@ -4,7 +4,7 @@ Tools are objects which dynamically generate simple single-use devices (e.g. wir
|
|||
from typing import TYPE_CHECKING, Optional, Sequence
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .devices import Device
|
||||
from ..pattern import Pattern
|
||||
|
||||
|
||||
class Tool:
|
||||
|
|
@ -17,6 +17,6 @@ class Tool:
|
|||
out_ptype: Optional[str] = None,
|
||||
port_names: Sequence[str] = ('A', 'B'),
|
||||
**kwargs,
|
||||
) -> 'Device':
|
||||
) -> 'Pattern':
|
||||
raise NotImplementedError(f'path() not implemented for {type(self)}')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue