ソースを参照

🐛 _on_status_changed should not call the callbacks

Grégoire Marabout-Demazure 1 年間 前
コミット
1088a2d44d
1 ファイル変更0 行追加3 行削除
  1. 0 3
      taipy/core/job/job.py

+ 0 - 3
taipy/core/job/job.py

@@ -308,9 +308,6 @@ class Job(_Entity, _Labeled):
         function = functions.pop()
         self._subscribers.append(function)
 
-        if self.status != Status.SUBMITTED:
-            function(self)
-
         if functions:
             self._on_status_change(*functions)