Skip to content

Commit d15d734

Browse files
committed
chore: fix type hinting
1 parent f474703 commit d15d734

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scaleway-core/scaleway_core/utils/resolve_one_of.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class OneOfPossibility(Generic[T]):
1515
default: Optional[T | ProfileDefaults] = None
1616
marshal_func: Optional[Callable[[T, T | None], Dict[str, Any]]] = None
1717

18+
marshal_func: Optional[T] = None
19+
1820

1921
def resolve_one_of(
2022
possibilities: List[OneOfPossibility[Any]], is_required: bool = False

0 commit comments

Comments
 (0)