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

List jobs #19

Merged
merged 6 commits into from
Apr 19, 2024
Merged

List jobs #19

merged 6 commits into from
Apr 19, 2024

Conversation

jewelltaylor
Copy link
Contributor

PR Type

[Feature | Fix | Documentation | Other ]

Short Description

Clickup Ticket(s): List Jobs Endpoint

Added a simple list status endpoint that lists the records in the Job DB with the specified status. Raises a 400 if status does not exist in the JobStatus Enum.

Tests Added

  • Test to see if jobs of each JobStatus type can be fetched
  • Test to see if the correct error is raised on passing invalid status

@jewelltaylor jewelltaylor requested review from lotif and emersodb April 17, 2024 13:09
Copy link
Collaborator

@lotif lotif left a comment

Choose a reason for hiding this comment

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

Small code changes.

@jewelltaylor jewelltaylor requested a review from lotif April 19, 2024 12:12
@jewelltaylor jewelltaylor merged commit 2aff399 into main Apr 19, 2024
4 checks passed
@jewelltaylor jewelltaylor deleted the list-jobs branch April 19, 2024 17:20
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.

2 participants