Skip to content

Commit

Permalink
Improve return type for BaseCommand.execute() (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Aug 26, 2022
1 parent cf16720 commit d2bfd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/core/management/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class BaseCommand:
def add_arguments(self, parser: CommandParser) -> None: ...
def print_help(self, prog_name: str, subcommand: str) -> None: ...
def run_from_argv(self, argv: List[str]) -> None: ...
def execute(self, *args: Any, **options: Any) -> Any: ...
def execute(self, *args: Any, **options: Any) -> Optional[str]: ...
def check(
self,
app_configs: Optional[Sequence[AppConfig]] = ...,
Expand Down

0 comments on commit d2bfd37

Please sign in to comment.