Hi, I am exploring different mechanisms to provide user data to a bokeh application run via
bokeh serve. In the initial use-case being considered, I might be able to do everything I need by passing a modest amount of data during the initialization step, i.e.when a client session is started, and I’d like to explore the flexibility and features of that before going to something more heavyweight like pulling in database connections, etc.
The bokeh documentation here https://docs.bokeh.org/en/latest/docs/reference/client/session.html#use-cases indicates that a
ClientSession can provide data via an option
However, I have not successfully found through the documentation how to access that data in the server? Is it some specific attribute of the document, session_context, etc? Is this best handled in the
on_session_created() method in a
And, as a side question, are there any known limitations or drawbacks to using the Python client implementation?