def start_celery(argv): cmd = CeleryCommand() cmd.maybe_patch_concurrency() cmd.execute_from_commandline(argv)