Update invokeai/app/cli/commands.py

Co-authored-by: StAlKeR7779 <stalkek7779@yandex.ru>
This commit is contained in:
Lincoln Stein
2023-07-05 13:22:04 -04:00
committed by GitHub
parent ed86d0b708
commit c1da66df8f

View File

@@ -47,7 +47,7 @@ def add_parsers(
commands: list[type],
command_field: str = "type",
exclude_fields: list[str] = ["id", "type"],
add_arguments: Union[Callable[[argparse.ArgumentParser], None],None] = None
add_arguments: Optional[Callable[[argparse.ArgumentParser], None]] = None
):
"""Adds parsers for each command to the subparsers"""