Skip to content

Commit 43fdc5f

Browse files
committed
Merge remote-tracking branch 'fork/os/generic-dataclasses' into os/generic-dataclasses
2 parents 4036cd7 + c71584a commit 43fdc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

marshmallow_dataclass/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ def _generic_params_to_args(clazz: type) -> Tuple[Tuple[type, type], ...]:
841841

842842
def _dataclass_type_hints(
843843
clazz: type,
844-
clazz_frame: types.FrameType = None,
844+
clazz_frame: Optional[types.FrameType] = None,
845845
generic_params_to_args: Optional[Tuple[Tuple[type, type], ...]] = None,
846846
) -> Mapping[str, type]:
847847
localns = clazz_frame.f_locals if clazz_frame else None

0 commit comments

Comments
 (0)