Skip to content

Add labels to create run and list runs#1140

Open
afbrock wants to merge 2 commits into
flyteorg:mainfrom
afbrock:adam/labels-part-1
Open

Add labels to create run and list runs#1140
afbrock wants to merge 2 commits into
flyteorg:mainfrom
afbrock:adam/labels-part-1

Conversation

@afbrock

@afbrock afbrock commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

This commit adds --label to create run command, can be used multiple times and takes a key=value pair.
example: flyte run --label team=ml --label env=prod my_workflow.py main

Also adds label matching to list runs:
example: flyte get run --with-label team=ml
example: flyte get run --with-label-key team

This commit adds --label to create run command, can be used multiple times and takes
a key=value pair.
example:  flyte run --label team=ml --label env=prod my_workflow.py main

Also adds label matching to list runs:
example:  flyte get run --with-label team=ml
example:  flyte get run --with-label-key team

Signed-off-by: Adam Brock <adam@union.ai>
@kumare3

kumare3 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

looks good, unit tests

@afbrock

afbrock commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

looks good, unit tests

unit tests will fail until flyteorg/flyte#7430 merges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants