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-1906: As a user, I want to see a list of my jobs using harmony-py. #103

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

ygliuvt
Copy link
Member

@ygliuvt ygliuvt commented Feb 11, 2025

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)

Copy link
Contributor

@indiejames indiejames left a comment

Choose a reason for hiding this comment

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

Tested successfully

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
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
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.

Copy link
Contributor

@chris-durbin chris-durbin left a comment

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
11 checks passed
@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