How to run/build a flow zone using dataiku python api
Let say that I have created a flow zone with id 'xytg' and I want to trigger / run/ build this flow zone using python api. How can I do that?
I tried to look into the python api but could not find it.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,090 Neuron
I don't believe there is a direct way to build a flow zone in the API but you can create a scenario and trigger the scenario using the Python API. The ability to properly build flow zones from a scenario only got recently added to Dataiku v13.1.0 released on August 14th 2024. There is however a workaround you can use which I covered on this Product Idea. It's not as good as being able to specify the flow zone since you will need to specify the outputs and build required dependencies. So if your zone outputs are changed the scenario willl need changes. But it's the best thing you are going to get without upgrading. If you want to proper feature you will need to upgrade to v13.1 or above.