Skip to content

Commit e52428e

Browse files
committed
attempt to fix mypy
python/mypy#17264 (comment)
1 parent f9e71a7 commit e52428e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

marshmallow_dataclass/generic_resolver.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
from typing_extensions import Annotated, get_args, get_origin
2121

2222
if sys.version_info >= (3, 13):
23-
from typing import NoDefault
23+
from typing import (
24+
NoDefault,
25+
) # noqa - error: Module "typing" has no attribute "NoDefault" [attr-defined]
2426
else:
2527
from typing import final
2628

0 commit comments

Comments
 (0)