Skip to content

Commit

Permalink
used typing.Dict for python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Lepekhin committed Dec 20, 2023
1 parent 390439c commit 19d8945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_to_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class StorageSettings(BaseSettings):
FILE_STORAGE: str

@computed_field
def STORAGES(self) -> dict[str, dict[str, str]]:
def STORAGES(self) -> Dict[str, Dict[str, str]]:
return {"default": {"BACKEND": self.FILE_STORAGE}}

settings = StorageSettings(FILE_STORAGE="ExampleStorage")
Expand Down

0 comments on commit 19d8945

Please sign in to comment.