From 9482f2f81c0fc8982c9220f3ee6647023b3f034b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F?= Date: Tue, 19 Oct 2021 20:03:53 +0800 Subject: [PATCH] fix `django.contrib.auth.models.Group.natural_key` no return type (#724) --- django-stubs/contrib/auth/models.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/contrib/auth/models.pyi b/django-stubs/contrib/auth/models.pyi index d907b46..022c929 100644 --- a/django-stubs/contrib/auth/models.pyi +++ b/django-stubs/contrib/auth/models.pyi @@ -39,7 +39,7 @@ class Group(models.Model): name = models.CharField(max_length=150) permissions = models.ManyToManyField(Permission) - def natural_key(self): ... + def natural_key(self) -> Tuple[str]: ... _T = TypeVar("_T", bound=Model)