From 9a9a0123c758fadee4079429754fa92c512b5aaa Mon Sep 17 00:00:00 2001 From: James Pulec Date: Wed, 28 Oct 2020 21:33:43 -0700 Subject: [PATCH] Fix Generator Type --- django-stubs/db/models/utils.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/db/models/utils.pyi b/django-stubs/db/models/utils.pyi index 3997b9f..9f2fc53 100644 --- a/django-stubs/db/models/utils.pyi +++ b/django-stubs/db/models/utils.pyi @@ -4,4 +4,4 @@ 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]]: ... +def resolve_callables(mapping: MutableMapping[str, Any]) -> Generator[Tuple[str, Any], None, None]: ...