import Sequence et al from collections.abc not typing
This commit is contained in:
parent
b1d78b9acb
commit
6ec94fb3c3
28 changed files with 45 additions and 28 deletions
|
|
@ -3,7 +3,8 @@ Tools are objects which dynamically generate simple single-use devices (e.g. wir
|
|||
|
||||
# TODO document all tools
|
||||
"""
|
||||
from typing import Sequence, Literal, Callable, Any
|
||||
from typing import Literal, Any
|
||||
from collections.abc import Sequence, Callable
|
||||
from abc import ABCMeta # , abstractmethod # TODO any way to make Tool ok with implementing only one method?
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue