Skip to content

Commit 261023a

Browse files
committed
fix(typing): manage one_of_resolve typing
1 parent df203c3 commit 261023a

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
@@ -10,7 +10,7 @@
1010
class OneOfPossibility:
1111
param: str
1212
value: Optional[Any]
13-
default: Optional[ProfileDefaults] = None
13+
default: Optional[T] = None
1414
marshal_func: Optional[Callable[[T, Optional[ProfileDefaults]], Dict[str, Any]]] = None
1515

1616
def resolve_one_of(

0 commit comments

Comments
 (0)