-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add method to run job and wait for result #229
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Renrut5 it looks like you have some conflicts now due to some merged PRs, but otherwise this LGTM. Thank you.
@joewesch rebased and updated. |
>>> nb.extras.jobs.run_and_wait( | ||
class_path="local/data_quality/VerifyHostnames", | ||
data={"hostname_regex": ".*"}, | ||
commit=True, | ||
interval=5, | ||
max_rechecks=10, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an example of setting the response to a variable and maybe how they can use the response in a meaningful way (e.g., printing something)?
closes #32