Skip to content

Commit

Permalink
Update Model.py
Browse files Browse the repository at this point in the history
Corrected incorrect type for __internal_cast_map__
  • Loading branch information
JarriqTheTechie authored Apr 5, 2024
1 parent dbdc988 commit 7514131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masoniteorm/models/Model.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class Model(TimeStampsMixin, ObservesEvents, metaclass=ModelMeta):

__cast_map__ = {}

__internal_cast_map__: list[str, Any] = {
__internal_cast_map__: dict[str, Any] = {
"bool": BoolCast,
"json": JsonCast,
"int": IntCast,
Expand Down

0 comments on commit 7514131

Please sign in to comment.