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 c3f5da1 commit 231b3b2Copy full SHA for 231b3b2
marshmallow_dataclass/generic_resolver.py
@@ -9,6 +9,7 @@
9
Optional,
10
Tuple,
11
TypeVar,
12
+ Union,
13
)
14
15
import typing_inspect
@@ -59,7 +60,7 @@ class _Future(Generic[_U]):
59
60
61
_done: bool
62
_result: _U
- _default: _U | "_Future[_U]"
63
+ _default: Union[_U, "_Future[_U]"]
64
65
def __init__(self, default=NoDefault) -> None:
66
self._done = False
0 commit comments