feat: remove aioredis to redis

This commit is contained in:
Jinlong Peng
2022-07-25 18:25:04 +08:00
parent 5b359e91b1
commit 5f34bf0d73
9 changed files with 198 additions and 573 deletions

View File

@@ -12,7 +12,7 @@ class FileUpload:
self,
uploads_dir: str,
allow_extensions: Optional[List[str]] = None,
max_size: int = 1024 ** 3,
max_size: int = 1024**3,
filename_generator: Optional[Callable] = None,
prefix: str = "/static/uploads",
):