import Sequence et al from collections.abc not typing

This commit is contained in:
Jan Petykiewicz 2024-07-28 19:33:16 -07:00
commit 6ec94fb3c3
28 changed files with 45 additions and 28 deletions

View file

@ -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