mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 21:46:43 +08:00
20 lines
565 B
Python
20 lines
565 B
Python
from typing import Any, List, Optional, Set, Tuple, Type
|
|
|
|
from django.apps.config import AppConfig
|
|
from django.db.models.base import Model
|
|
|
|
from .base import CommandError
|
|
|
|
|
|
def popen_wrapper(
|
|
args: List[str], stdout_encoding: str = ...
|
|
) -> Tuple[str, str, int]: ...
|
|
def handle_extensions(extensions: List[str]) -> Set[str]: ...
|
|
def find_command(
|
|
cmd: str, path: None = ..., pathext: None = ...
|
|
) -> Optional[str]: ...
|
|
def get_random_secret_key(): ...
|
|
def parse_apps_and_model_labels(
|
|
labels: List[str]
|
|
) -> Tuple[Set[Type[Model]], Set[AppConfig]]: ...
|