The Dataiku Frontrunner Awards have just launched to recognize your achievements! SUBMIT YOUR ENTRY

Are URL parameters supported in a Bokeh Web App?

Turribeach
Level 3
Are URL parameters supported in a Bokeh Web App?

Are URL parameters supported in a Bokeh Web App? For instance can we retrieve URL parameters accessing the HTTP Request as shown in the Bokeh documentation? The purpose of this is to pass some URL parameter to our Dataiku Public Web App so we can customise what the Bokeh visualisation shows based on the URL parameters. Thanks

0 Kudos
1 Reply
ATsao
Dataiker
Dataiker

Hi Turribeach,

Yes, you should be able to utilize URL parameters with your public Bokeh webapps and pass them via curdoc().session_context.request.arguments as long as the Bokeh version supports it (should be available starting in Bokeh v0.13 from going through their documentation). Notably, the DSS nginx will simply redirect the request to the underlying Bokeh server but should not change either the corresponding HTTP headers or query strings. 

Thanks,

Andrew

A banner prompting to get Dataiku DSS
Public