mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-21 19:32:16 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
25
django-stubs-generated/core/management/__init__.pyi
Normal file
25
django-stubs-generated/core/management/__init__.pyi
Normal file
@@ -0,0 +1,25 @@
|
||||
from typing import Any, Dict, List, Optional, Tuple, Union
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
|
||||
def find_commands(management_dir: str) -> List[str]: ...
|
||||
def load_command_class(app_name: str, name: str) -> BaseCommand: ...
|
||||
def get_commands() -> Dict[str, str]: ...
|
||||
def call_command(
|
||||
command_name: Union[Tuple[str], BaseCommand, str],
|
||||
*args: Any,
|
||||
**options: Any
|
||||
) -> Optional[str]: ...
|
||||
|
||||
class ManagementUtility:
|
||||
argv: List[str] = ...
|
||||
prog_name: str = ...
|
||||
settings_exception: None = ...
|
||||
def __init__(self, argv: List[str] = ...) -> None: ...
|
||||
def main_help_text(self, commands_only: bool = ...): ...
|
||||
def fetch_command(self, subcommand: str) -> BaseCommand: ...
|
||||
def autocomplete(self) -> None: ...
|
||||
def execute(self) -> None: ...
|
||||
|
||||
def execute_from_command_line(argv: List[str] = ...) -> None: ...
|
||||
Reference in New Issue
Block a user