Skip to content

Commit b62dbb6

Browse files
committed
fix: type issue
1 parent 485c6a3 commit b62dbb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleway-core/scaleway_core/utils/resolve_one_of.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class OneOfPossibility(Generic[T]):
1212
param: str
1313
value: Optional[T]
1414
default: Optional[T | ProfileDefaults] = None
15-
marshal_func: Optional[Callable[[T, ProfileDefaults | None], Dict[str, Any]]] = None
15+
marshal_func: Optional[Callable[[T, T | None], Dict[str, Any]]] = None
1616

1717

1818
def resolve_one_of(

0 commit comments

Comments
 (0)