We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3abf55 commit f21f19dCopy full SHA for f21f19d
adaptive/utils.py
@@ -9,8 +9,6 @@
9
10
from atomicwrites import AtomicWriter
11
12
-from adaptive.learner.base_learner import BaseLearner
13
-
14
15
def named_product(**items):
16
names = items.keys()
@@ -72,7 +70,7 @@ def decorator(method):
72
70
73
71
74
class _RequireAttrsABCMeta(abc.ABCMeta):
75
- def __call__(self, *args, **kwargs) -> BaseLearner:
+ def __call__(self, *args, **kwargs):
76
obj = super().__call__(*args, **kwargs)
77
for name, type_ in obj.__annotations__.items():
78
try:
0 commit comments