Skip to content

Commit

Permalink
attempt to fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanderlee committed Nov 30, 2024
1 parent f9e71a7 commit e52428e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion marshmallow_dataclass/generic_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
from typing_extensions import Annotated, get_args, get_origin

if sys.version_info >= (3, 13):
from typing import NoDefault
from typing import (
NoDefault,
) # noqa - error: Module "typing" has no attribute "NoDefault" [attr-defined]
else:
from typing import final

Expand Down

0 comments on commit e52428e

Please sign in to comment.