Skip to content

Commit 0204a1c

Browse files
committed
Fix type hint for python 3.9
1 parent 279db45 commit 0204a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mashumaro/core/meta/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _typing_name(
186186

187187

188188
def type_name(
189-
typ: Optional[Type] | Any,
189+
typ: Union[Type, Any],
190190
short: bool = False,
191191
resolved_type_params: Optional[dict[Type, Type]] = None,
192192
is_type_origin: bool = False,

0 commit comments

Comments
 (0)