@bel-lau I should first point out this recent reply in another thread:
To reiterate what is said there, this kind of approach (e.g. running a “blank” bokeh server and pushing everything to it from outside processes) is not at all the way the core developers intend for the bokeh server to be used. The bokeh.client
has extremely narrow intended applications: 1) testing, and 2) making one time up front tweaks (i.e. per user customizations) to server-generated sessions before embedding them in rendered pages.
Would anyone be willing to share the reasoning behind this change?
The change was made in the server code to simplify it and support better logging. If making a similar change in the client code helps your use case (I doubt it), then we’d be happy to consider a PR. Though again, I cannot stress enough: this kind of usage explicitly dis-encouraged by us (which is why there are no examples of this sort of thing anywhere in the docs or examples) So, I would be much more interested in discussing how to help you restructure your app in a more supported way.