mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-12 23:20:39 +08:00
merge with stubgen output
This commit is contained in:
1 parent
496a6274e7
commit
4866354600
294 files changed
+10234
-10842
No files matched your search
@@ -1,21 +1,28 @@
|
||||
from django.db.models.base import Model
|
||||
from typing import (
|
||||
Any,
|
||||
Iterator,
|
||||
Type,
|
||||
)
|
||||
# Stubs for django.apps.config (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
from django.db.models.base import Model
|
||||
from typing import Any, Iterator, Type
|
||||
MODELS_MODULE_NAME: str
|
||||
|
||||
class AppConfig:
|
||||
name: Any = ...
|
||||
module: Any = ...
|
||||
apps: Any = ...
|
||||
label: Any = ...
|
||||
verbose_name: Any = ...
|
||||
path: Any = ...
|
||||
models_module: Any = ...
|
||||
models: Any = ...
|
||||
def __init__(self, app_name: str, app_module: Any) -> None: ...
|
||||
def __repr__(self): ...
|
||||
def _path_from_module(self, module: Any) -> str: ...
|
||||
@classmethod
|
||||
def create(cls, entry: str) -> AppConfig: ...
|
||||
def get_model(self, model_name: str, require_ready: bool = ...) -> Type[Model]: ...
|
||||
def get_models(
|
||||
self,
|
||||
include_auto_created: bool = ...,
|
||||
include_swapped: bool = ...
|
||||
) -> Iterator[Type[Model]]: ...
|
||||
def get_models(self, include_auto_created: bool = ..., include_swapped: bool = ...) -> Iterator[Type[Model]]: ...
|
||||
def import_models(self) -> None: ...
|
||||
def ready(self) -> None: ...
|
||||
def ready(self) -> None: ...
|
||||
Reference in new issue
Block a user