From dceb0751522395cbe86c8db924372bdfec6b1adb Mon Sep 17 00:00:00 2001 From: Maxim Kurnikov Date: Sat, 5 Oct 2019 21:36:41 +0300 Subject: [PATCH] fix annotation for BaseCommand.handle() (#201) --- django-stubs/core/management/base.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/core/management/base.pyi b/django-stubs/core/management/base.pyi index 77017c32f..92acfbf75 100644 --- a/django-stubs/core/management/base.pyi +++ b/django-stubs/core/management/base.pyi @@ -63,7 +63,7 @@ class BaseCommand: fail_level: int = ..., ) -> None: ... def check_migrations(self) -> None: ... - def handle(self, *args: Any, **options: Any) -> None: ... + def handle(self, *args: Any, **options: Any) -> Optional[str]: ... class AppCommand(BaseCommand): missing_args_message: str = ...