Skip to content

Commit

Permalink
Remove bool option default
Browse files Browse the repository at this point in the history
- I believe Option(default = ...) should not be used with Annotated
- Remove lambda function, it's not supported for python3.8
  • Loading branch information
yoland68 committed Apr 27, 2024
1 parent 02d5466 commit 3b34087
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions comfy_cli/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,12 @@ def install(
] = False,
skip_manager: Annotated[
bool,
lambda: typer.Option(
default=False,
typer.Option(
help="Skip installing the manager component")
] = False,
amd: Annotated[
bool,
lambda: typer.Option(
default=False,
typer.Option(
help="Install for AMD gpu")
] = False,
):
Expand Down

0 comments on commit 3b34087

Please sign in to comment.