Access project key in Webapp bokeh application
Options
![tomas](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n5261i79DA1BFFD65C0DD1.png)
tomas
Registered, Neuron 2022 Posts: 120 ✭✭✭✭✭
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