We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2627f79 commit be2de80Copy full SHA for be2de80
src/idom/_option.py
@@ -15,7 +15,7 @@
15
logger = getLogger(__name__)
16
17
18
-ALL_OPTIONS: WeakSet[Option] = WeakSet()
+ALL_OPTIONS: WeakSet[Option[Any]] = WeakSet()
19
20
21
class Option(Generic[_O]):
src/idom/config.py
@@ -7,12 +7,12 @@
7
"""
8
9
from pathlib import Path
10
-from typing import List, cast
+from typing import Any, List, cast
11
12
from . import _option
13
14
-def all_options() -> List[_option.Option]:
+def all_options() -> List[_option.Option[Any]]:
"""Get a list of all options"""
return list(_option.ALL_OPTIONS)
0 commit comments