From d3d854dac83a2295662cb651c076f3d77116e07b Mon Sep 17 00:00:00 2001 From: James Pulec Date: Wed, 28 Oct 2020 20:27:46 -0700 Subject: [PATCH] Add resolve_callables to db.models.utils --- django-stubs/db/models/utils.pyi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django-stubs/db/models/utils.pyi b/django-stubs/db/models/utils.pyi index a1af698..3997b9f 100644 --- a/django-stubs/db/models/utils.pyi +++ b/django-stubs/db/models/utils.pyi @@ -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]]: ...