add correct return annotation to get_storage_class (#103)

Co-Authored-By: cs-cordero <chris.s.cordero@gmail.com>
This commit is contained in:
Maxim Kurnikov
2019-07-10 14:06:09 +03:00
committed by GitHub
parent 2799646723
commit 2f6af159f7

View File

@@ -1,5 +1,5 @@
from datetime import datetime
from typing import Any, IO, List, Optional, Tuple
from typing import Any, IO, List, Optional, Tuple, Type
from django.core.files.base import File
from django.utils.functional import LazyObject
@@ -44,4 +44,4 @@ class DefaultStorage(LazyObject): ...
default_storage: Any
def get_storage_class(import_path: Optional[str] = ...) -> Storage: ...
def get_storage_class(import_path: Optional[str] = ...) -> Type[Storage]: ...