From 74a91b1cf6aa98a2c0728e7995cb563ee2d3bd27 Mon Sep 17 00:00:00 2001 From: Toan Quach Date: Thu, 23 Nov 2023 19:37:15 +0700 Subject: [PATCH] added continue to prevent continuous reload in submission status update --- src/taipy/core/submission/submission.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/taipy/core/submission/submission.py b/src/taipy/core/submission/submission.py index 81d2f534..4584df35 100644 --- a/src/taipy/core/submission/submission.py +++ b/src/taipy/core/submission/submission.py @@ -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: