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

[DSPDC-1717] Add common job polling code to this lib #15

Merged
merged 2 commits into from
May 24, 2021

Conversation

aherbst-broad
Copy link
Contributor

Why

Relevant ticket
We need to poll on dataset creation for the referenced ticket; we should extract the common polling code to a lib for reuse elsewhere.

This PR

  • Extracts the polling code to this lib and adds a test.

Library Checklist

  • I have described my changes in detail in my commit message, breaking things down as described in the README

@aherbst-broad aherbst-broad requested review from a team, raaidbroad, eparkmonster and quazi-h and removed request for a team May 24, 2021 15:42
"""


class JobId(str):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is going to be a common type used everywhere, I thought now is a good time to extract to this lib.

Copy link

@raaidbroad raaidbroad left a comment

Choose a reason for hiding this comment

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

Noice, just needs a newline in the test file

dagster_utils/tests/contrib/data_repo/test_poll_job.py Outdated Show resolved Hide resolved
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.

None yet

3 participants