Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #831 from Avaiga/bug/add-continue-to-prevent-conti…
Browse files Browse the repository at this point in the history
…nuos-reload

bug/ added continue to prevent continuous reload in submission status update
  • Loading branch information
toan-quach authored Nov 23, 2023
2 parents 56ec3e4 + 74a91b1 commit b8a9704
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/taipy/core/submission/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,19 @@ def _update_submission_status(self, _: Job):
return
if job.is_canceled():
canceled = True
continue
if job.is_blocked():
blocked = True
continue
if job.is_pending() or job.is_submitted():
pending = True
continue
if job.is_running():
running = True
continue
if job.is_completed() or job.is_skipped():
completed = True
continue
if job.is_abandoned():
abandoned = True
if canceled:
Expand Down

0 comments on commit b8a9704

Please sign in to comment.