Still can't use Callable with dataclasses, but looks like my attempt to make a generic Protocol to fix the issue failed, so now just using protocols directly.
Also added tests to mypy coverage to catch such issues in the future, even though typing tests is rather painful.
Fixes #119
Still can't use
Callable
with dataclasses, but looks like my attempt to make a genericProtocol
to fix the issue failed, so now just using protocols directly.Also added tests to mypy coverage to catch such issues in the future, even though typing tests is rather painful.