Skip to content

Commit

Permalink
mypy thing
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Oct 24, 2024
1 parent 2646a6d commit 3db58be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aredis_om/model/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def jsonable_encoder(
sqlalchemy_safe=sqlalchemy_safe,
)
if dataclasses.is_dataclass(obj):
return dataclasses.asdict(obj) # type: ignore[call-overload]
return dataclasses.asdict(obj) # type: ignore
if isinstance(obj, Enum):
return obj.value
if isinstance(obj, PurePath):
Expand Down

0 comments on commit 3db58be

Please sign in to comment.