☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Call load_document from js/browser

Community Support
Schaun_Wheeler
Schaun_Wheeler

It looks like Session.poll_document just alternates between calling Session.load_document and time.sleep. Is there a way to trigger a load_document call from bokeh.js? It seems conceptually simpler to trigger that kind of call every time a widget is triggered or a glyph is selected rather than requiring the application to check the server every half a second. Also, poll_document only calls load_document, when in most cases I don’t want to load the whole document - I only want to load the object(s) that I’ve changed.

Any tips for implementing this kind of functionality? I’m happy to work on it if it’s not something that currently exists, but I’d appreciate any advice that could point me in the right direction.

Thanks in advance.

⌁   Link to post

End of archived discussion · Replies are disabled