Skip to content

Commit

Permalink
used typing.Dict for python 3.8 support (#23)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Lepekhin <[email protected]>
  • Loading branch information
andrey-lepekhin and Andrey Lepekhin authored Dec 20, 2023
1 parent 390439c commit bf1fc0b
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 bf1fc0b

Please sign in to comment.