Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve integration with Panel #6

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

philippjfr
Copy link
Collaborator

This PR does two things:

  1. Improve the _eval_panel wrapper to ensure that functions are given the correct pn.state.curdoc context and that we run Panel's onload handlers
  2. Add integration with Panel's immediate dispatch mechanism, ensuring that Panel does not error when it dispatches events across the websocket.

In the long run we will have to work out whether the _eval_panel code really should live in this repo or whether we should simply merge bokeh-fastapi support upstream. The same is true with the dispatch_fastapi hook.

Depends on holoviz/panel#6820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panel doesn't recognize an active session
2 participants