Access project key in Webapp bokeh application

Options
tomas
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
Tagged:

Best Answer

  • Alex_Combessie
    Alex_Combessie Alpha Tester, Dataiker Alumni Posts: 539 ✭✭✭✭✭✭✭✭✭
    edited July 18 Answer ✓
    Options

    Hi,

    You can use the dataiku API from the bokeh webapp:


    import dataiku
    dataiku.default_project_key()

    Best regards,

    Alex

Setup Info
    Tags
      Help me…