We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af6645a commit be28a93Copy full SHA for be28a93
ads/jobs/builders/infrastructure/dsc_job.py
@@ -868,9 +868,9 @@ def download(self, to_dir):
868
869
def delete(self, force_delete: bool = False):
870
if force_delete and self.status in [
871
- oci.data_science.models.JobRun.LIFECYCLE_STATE_ACCEPTED,
872
- oci.data_science.models.JobRun.LIFECYCLE_STATE_IN_PROGRESS,
873
- oci.data_science.models.JobRun.LIFECYCLE_STATE_NEEDS_ATTENTION,
+ DataScienceJobRun.LIFECYCLE_STATE_ACCEPTED,
+ DataScienceJobRun.LIFECYCLE_STATE_IN_PROGRESS,
+ DataScienceJobRun.LIFECYCLE_STATE_NEEDS_ATTENTION,
874
]:
875
self.cancel(wait_for_completion=True)
876
super().delete()
0 commit comments