Interacting with Labeling Task through Python API
Hello,
In my project, I am trying to do two different things with labelings tasks.
1- Automatically create a labeling class according with a registry dataset with the classes that should exists.
2- Get the URL of the labeling class though a Python API to send to slack webhook. This is a issue since I need to send the project into production and the URL probably will change.
Thank you,
Marco.
Operating system used: Centos
Answers
-
Can you please leave any update on this? Thank you.
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,090 Neuron
There is a get_labeling_task() method in the Python API that you should be able to use:
-
I have just checked that and despite having a handle to the labeling task, it doesn't seem to have any functionality other than having the id and project key of the task. I would need to get and change settings of it however.
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,090 Neuron
Can you please post your Python code in a code block? (the </> icon in the toolbar)