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 9cac7eb commit 167793eCopy full SHA for 167793e
scaleway-core/scaleway_core/utils/resolve_one_of.py
@@ -17,7 +17,7 @@ class OneOfPossibility(Generic[T]):
17
18
def resolve_one_of(
19
possibilities: List[OneOfPossibility[Any]], is_required: bool = False
20
-) -> dict[Any | Any, None] | str | dict[Any, Any]:
+) -> dict[str | Any] | str | dict[Any, Any]:
21
"""
22
Resolves the ideal parameter and value amongst an optional list.
23
Uses marshal_func if provided.
0 commit comments