from celery.app import defaults as defaults
from celery.bin.base import Command as Command
from celery.utils.functional import pass1 as pass1
from typing import Any, Optional

class upgrade(Command):
    choices: Any = ...
    def add_arguments(self, parser: Any) -> None: ...
    def usage(self, command: Any): ...
    def run(self, *args: Any, **kwargs: Any): ...
    def settings(self, command: Any, filename: Optional[Any] = ..., no_backup: bool = ..., django: bool = ..., compat: bool = ..., **kwargs: Any) -> None: ...
