Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
12.15k stars 875 forks source link

Add method to check if a Scenario exists #1100

Open arcanaxion opened 5 months ago

arcanaxion commented 5 months ago

Description Took me awhile to realise that I could do tp.exists(scenario.id), because I was looking through the members of Scenario to find how to check if it had been deleted.

Might be helpful if Scenario (and other relevant entities) had a method to check if it has been deleted.

Acceptance Criteria

trgiangdo commented 5 months ago

Do you mean exposing new methods like:

scenario.exists()
task.exists()
arcanaxion commented 5 months ago

Do you mean exposing new methods like:

scenario.exists()
task.exists()

Yup, that's what I mean

ioannastantzou commented 5 months ago

hello! I am a first time contributor ,do you think I could work on this issue?

trgiangdo commented 5 months ago

Yes absolutely. The tp.exists() API is already implemented. All we need to do is exposing the exists() API in the DataNode, Task, Scenario, ... classes.

Please let us know if you have any question.

trgiangdo commented 5 months ago

Hello @ioannastantzou, this issue is currently under discussion by the Taipy team as shown in the label. It was my mistake to assign an under discussion issue to you. I'm really sorry about that.

We will continue the discussion to see whether this new feature should be a part of Taipy package or not. Please be patient with us.

In the meantime, you can find issues with the label "Help wanted" or "good first issue" since those are the features or bugs that we want to include / fix in the Taipy package.

ioannastantzou commented 5 months ago

okay no worries! Could you please check out issue #375 , i have asked to be assigned for this one! thank you!