Skip to content

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

Merged
chris-durbin merged 1 commit into
mainfrom
harmony-1993
Jan 30, 2025
Merged

HARMONY-1993: Allow users to set custom labels for harmony requests.#101
chris-durbin merged 1 commit into
mainfrom
harmony-1993

Conversation

@chris-durbin

Copy link
Copy Markdown
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
@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