Skip to content

HARMONY-1906: As a user, I want to see a list of my jobs using harmony-py.#103

Merged
ygliuvt merged 1 commit into
mainfrom
harmony-1906
Feb 11, 2025
Merged

HARMONY-1906: As a user, I want to see a list of my jobs using harmony-py.#103
ygliuvt merged 1 commit into
mainfrom
harmony-1906

Conversation

@ygliuvt

@ygliuvt ygliuvt commented Feb 11, 2025

Copy link
Copy Markdown
Member

Jira Issue ID

HARMONY-1906

Description

Add JobsRequest to get a list of jobs with page and limit.

Local Test Steps

Run examples/job_label.ipynb for jobs examples.

PR Acceptance Checklist

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

@indiejames indiejames left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested successfully

Comment thread harmony/harmony.py
Args:
page (int): The current page number.
limit (int): The number of jobs in each page.
labels (List[str]): A list of labels to search jobs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a parameter (yet)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, probably should have not added it. It will be used in the next PR when we add search.

@chris-durbin chris-durbin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified using notebook.

@ygliuvt ygliuvt merged commit 8285f00 into main Feb 11, 2025
@ygliuvt ygliuvt deleted the harmony-1906 branch February 11, 2025 20:23
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