How to pass the variables values from dash Webapp to the main project

Registered Posts: 2 ✭✭

My has local variables. I created a webApp using Dash for the project to render UI dropdown. Though I see the layout but the values selected does not reflect in the project. I still need to hard-code local variables.

I have a python recipe in my dataiku main project working successfully with a local variable in json format

{

"Value" : "ABC"

}

I have succesfully created the UI layout within the webapp to select Value in a dcc.dropdown but :

How can I change the local variable from the webapp's code (in the Python recipe) ?

eg if user selects Value BCD, local variables change

Operating system used: Windows

Operating system used: Windows

Answers

  • Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,370 Neuron

    I saw your other post. Whatever is that your app is doing that's where the problem is. Here is a Jupyter Notebook with your code showing it works perfectly.

    So if you still have a problem post your full Webapp code.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.