Access project key in Webapp bokeh application
Tomas
Registered, Neuron 2022 Posts: 121 ✭✭✭✭✭
Hi,
how can I get the current project key inside the Bokeh webapp application? I dont want to hard-code the project's project key into the webapp, because after using the same code in other webapp in other project I need to change the code.
Thanks
how can I get the current project key inside the Bokeh webapp application? I dont want to hard-code the project's project key into the webapp, because after using the same code in other webapp in other project I need to change the code.
Thanks
Best Answer
-
Hi,
You can use the dataiku API from the bokeh webapp:
import dataiku
dataiku.default_project_key()Best regards,
Alex