Skip to content

Commit

Permalink
fix type is not subscriptable
Browse files Browse the repository at this point in the history
  • Loading branch information
rhymiz committed Feb 22, 2023
1 parent 15cd680 commit d277afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mope/models/payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BaseModel(ABC):
def from_json(cls, data: Dict[str, Any]) -> None:
pass

def as_dict(self) -> dict[str, Any]:
def as_dict(self) -> Dict[str, Any]:
return asdict(self)


Expand Down

0 comments on commit d277afc

Please sign in to comment.