mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 05:51:53 +08:00
Add resolve_callables to db.models.utils
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
from typing import Tuple, Type, Union
|
||||
from typing import Any, Generator, MutableMapping, Tuple, Type, Union
|
||||
|
||||
from django.db.models.base import Model
|
||||
|
||||
def make_model_tuple(model: Union[Type[Model], str]) -> Tuple[str, str]: ...
|
||||
|
||||
def resolve_callables(mapping: MutableMapping[str, Any]) -> Generator[Tuple[str, Any]]: ...
|
||||
|
||||
Reference in New Issue
Block a user