Skip to content

Commit a177665

Browse files
committed
Arg type must be a sequence not set
1 parent 23376b1 commit a177665

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/guidellm/__main__.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
from guidellm.utils import DefaultGroupHandler
2020
from guidellm.utils import cli as cli_tools
2121

22-
STRATEGY_PROFILE_CHOICES = set(
23-
list(get_args(ProfileType)) + list(get_args(StrategyType))
22+
STRATEGY_PROFILE_CHOICES = list(
23+
set(list(get_args(ProfileType)) + list(get_args(StrategyType)))
2424
)
2525

2626

@@ -320,10 +320,7 @@ def run(
320320
)
321321

322322

323-
@benchmark.command(
324-
"from-file",
325-
help="Load a saved benchmark report."
326-
)
323+
@benchmark.command("from-file", help="Load a saved benchmark report.")
327324
@click.argument(
328325
"path",
329326
type=click.Path(file_okay=True, dir_okay=False, exists=True),

0 commit comments

Comments
 (0)