You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/holoviews/plotting/bokeh/callbacks.py b/holoviews/plotting/bokeh/callbacks.py
index 89541b595..607ee4380 100644
--- a/holoviews/plotting/bokeh/callbacks.py+++ b/holoviews/plotting/bokeh/callbacks.py@@ -691,7 +691,11 @@ class PopupMixin:
popup_is_callable = callable(popup)
if popup_is_callable:
with set_curdoc(self.plot.document):
- popup = popup(**stream.contents)+ import inspect+ if inspect.iscoroutinefunction(popup):+ raise TypeError("Popup callback cannot be async")+ else:+ popup = popup(**stream.contents)
# If no popup is defined, hide the bokeh panel wrapper
if popup is None:
No error either.
The text was updated successfully, but these errors were encountered: