Skip to content

Commit

Permalink
type: ignore syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
adsharma committed Mar 1, 2025
1 parent 9de3d86 commit 0b279c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlmodel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def sqlmodel_rebuild(cls) -> None:
reg._dispose_manager_and_mapper(m)
del reg._managers[m]

return cls.__do_init__(cls.__name__, cls.__bases__, cls.__dict__) # type: ignore (Dict vs Mapping)
return cls.__do_init__(cls.__name__, cls.__bases__, cls.__dict__) # type: ignore # Dict vs Mapping

# Override SQLAlchemy, allow both SQLAlchemy and plain Pydantic models
def __do_init__(
Expand Down

0 comments on commit 0b279c0

Please sign in to comment.