Explorar el Código

Merge pull request #736 from Avaiga/bugfix/early_job_reload

🐛 `_on_status_changed` triggers reload of non persisted job
Grégoire Marabout hace 1 año
padre
commit
7518e798d4
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  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)