Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 04:17 AM
Sometimes it happens, sometimes it does not. The api is:
/api/2.1/jobs/runs/list
Assuming INTERNAL_ERROR as TERMINATED state seems to be the a good workaround.
This is my solution so far...
if life_cycle_state.upper() not in ("TERMINATED", "SKIPPED", "INTERNAL_ERROR"):