Files
django-stubs/django-stubs-generated/contrib/staticfiles/utils.pyi
2018-11-10 17:49:18 +03:00

16 lines
465 B
Python

from collections import OrderedDict
from typing import Any, Iterator, List, Optional, Tuple, Union
from django.core.files.storage import FileSystemStorage
def matches_patterns(
path: str, patterns: Union[List[str], Tuple[str], OrderedDict] = ...
) -> bool: ...
def get_files(
storage: FileSystemStorage,
ignore_patterns: List[str] = ...,
location: str = ...,
) -> Iterator[str]: ...
def check_settings(base_url: Optional[str] = ...) -> None: ...