Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HARMONY-1993: Allow users to set custom labels for harmony requests. #101

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

chris-durbin
Copy link
Contributor

Jira Issue ID

HARMONY-1993

Description

Allows users to set custom labels on harmony requests.

Note that I also upgraded some libraries to eliminate several warnings.

Local Test Steps

Bring up one of the notebooks like tutorial.ipynb. Modify a request to set labels by adding labels=['foo', 'bar'] to the request constructor. Verify that the harmony request that gets created includes the labels 'foo', 'bar', and 'harmony-py'.

Repeat the test after setting the environment variable EXCLUDE_DEFAULT_LABEL=true. Verify that the labels 'foo' and 'bar' are included in the request, but not 'harmony-py'.

Verify that submitting a request without any labels field also works.

PR Acceptance Checklist

  • Acceptance criteria met
  • Tests added/updated (if needed) and passing
  • Documentation updated (if needed)

@chris-durbin chris-durbin merged commit 51f55fb into main Jan 30, 2025
11 of 13 checks passed
@chris-durbin chris-durbin deleted the harmony-1993 branch January 30, 2025 17:45
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