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

Make code example in "save-jobs" more robust #1578

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Conversation

frankharkins
Copy link
Member

This code example fails in our tests if the most recent job is cancelled. This PR filters by job status to avoid that.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@frankharkins
Copy link
Member Author

I've submitted a job, cancelled it, and re-triggered CI to confirm it works.

@frankharkins frankharkins marked this pull request as ready for review June 19, 2024 17:00
@frankharkins frankharkins linked an issue Jun 19, 2024 that may be closed by this pull request
Copy link
Collaborator

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thanks!

@frankharkins frankharkins added this pull request to the merge queue Jun 20, 2024
Merged via the queue into main with commit 6eb5583 Jun 20, 2024
4 checks passed
@frankharkins frankharkins deleted the FH/fix-save-jobs branch June 20, 2024 09:24
frankharkins added a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
This code example fails in our tests if the most recent job is
cancelled. This PR filters by job status to avoid that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix notebook tests for "retrieve jobs"
2 participants