Skip to content

Commit d31ed8a

Browse files
author
Roger Lam
authored
fix(workflows): make projectId required when listing workflows #372
Results weren't returning if projectId wasn't provided. This makes the field required so there isn't confusion if not results are returned.
1 parent e1046d7 commit d31ed8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradient/cli/workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def create_workflow_run(ctx, api_key, workflow_id, cluster_id, spec_path, input_
7979
@click.option(
8080
"--projectId",
8181
"project_id",
82-
required=False,
82+
required=True,
8383
help="Project ID",
8484
cls=common.GradientOption,
8585
)

0 commit comments

Comments
 (0)