I'm trying to use local storage with a bokeh server

what i’m trying to do:

  • have a bokeh server running an app
  • when the page loads, i want to read from localStorage and get some variables and store in python land
  • this requires me to run JS code when the page loads, and i can’t figure out how to do that.

Any help appreciated!

See Hook for callback upon document init · Issue #4272 · bokeh/bokeh · GitHub