Add resolve_callables to db.models.utils

This commit is contained in:
James Pulec
2020-10-28 20:27:46 -07:00
committed by GitHub
parent 6dc2c32382
commit d3d854dac8

View File

@@ -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]]: ...