Avaiga / taipy-core

A Python library to build powerful and customized data-driven back-end applications.
Apache License 2.0
38 stars 17 forks source link

add new APIs on submittable entities #672

Closed jrobinAV closed 1 year ago

jrobinAV commented 1 year ago
toan-quach commented 1 year ago

@jrobinAV For submittable.execution_in_progress, I don't think this will be feasible at least in development mode. In standalone mode, it should be doable. What do you think?

jrobinAV commented 1 year ago

Since the development mode is synchronous, when a user calls submittable.execution_in_progress, no data node will be in progress. You are right. Maybe there will be some specific cases where the application stops during an execution. When it restarts, some data nodes could be in progress while no job is running. It s kind of a pathological case.

In any case, I believe we can implement it regardless of the execution mode. It should work for all cases.

toan-quach commented 1 year ago

I believe you're right!