mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 14:31:56 +08:00
24 lines
508 B
Python
24 lines
508 B
Python
from collections import OrderedDict
|
|
from django.core.files.storage import (
|
|
DefaultStorage,
|
|
FileSystemStorage,
|
|
)
|
|
from typing import (
|
|
Iterator,
|
|
List,
|
|
Tuple,
|
|
Union,
|
|
)
|
|
|
|
|
|
def check_settings(base_url: str = ...) -> None: ...
|
|
|
|
|
|
def get_files(
|
|
storage: Union[FileSystemStorage, DefaultStorage],
|
|
ignore_patterns: List[str] = ...,
|
|
location: str = ...
|
|
) -> Iterator[str]: ...
|
|
|
|
|
|
def matches_patterns(path: str, patterns: Union[OrderedDict, Tuple[str], List[str]] = ...) -> bool: ... |