We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Yes. I can contribute this feature independently.
Add wait for an arbitrary state during the watch:
Here is our code, with is very agly.
def run(self, display_name: str, env_vars: dict = None) -> DataScienceJobRun: job_run = (self._oci_instance. run(name=display_name, env_var=env_vars)) job_run.TERMINAL_STATES += [JobRun.LIFECYCLE_STATE_IN_PROGRESS] job_run.watch() job_run.TERMINAL_STATES.remove(JobRun.LIFECYCLE_STATE_IN_PROGRESS) return job_run
Our project needs the run/delete to be blocking and having the busy waiting loop in our code not idela
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Willingness to contribute
Yes. I can contribute this feature independently.
Proposal Summary
Add wait for an arbitrary state during the watch:
Here is our code, with is very agly.
def run(self, display_name: str, env_vars: dict = None) -> DataScienceJobRun:
job_run = (self._oci_instance.
run(name=display_name, env_var=env_vars))
job_run.TERMINAL_STATES += [JobRun.LIFECYCLE_STATE_IN_PROGRESS]
job_run.watch()
job_run.TERMINAL_STATES.remove(JobRun.LIFECYCLE_STATE_IN_PROGRESS)
return job_run
Motivation
Our project needs the run/delete to be blocking and having the busy waiting loop in our code not idela
Details
No response
The text was updated successfully, but these errors were encountered: