mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-18 03:51:30 +08:00
Add resolve_callables to db.models.utils
This commit is contained in:
1 parent
6dc2c32382
commit
d3d854dac8
1 file changed
+3
-1
@@ -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