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 1a5639f commit 49a3c2fCopy full SHA for 49a3c2f
returns/pipeline.py
@@ -1,4 +1,4 @@
1
-from typing import ClassVar
+from typing import Any
2
3
from returns._internal.pipeline.flow import flow as flow
4
from returns._internal.pipeline.managed import managed as managed
@@ -8,7 +8,7 @@
8
9
10
# TODO: add overloads for specific types, so it can narrow them with `TypeIs`
11
-def is_successful(container: Unwrappable) -> bool:
+def is_successful(container: Unwrappable[Any, Any]) -> bool:
12
"""
13
Determines if a container was successful or not.
14
0 commit comments