diff --git a/solara/server/patch.py b/solara/server/patch.py index bd88abe7d..c8cf4c1e8 100644 --- a/solara/server/patch.py +++ b/solara/server/patch.py @@ -280,7 +280,7 @@ def WidgetContextAwareThread__init__(self, *args, **kwargs): try: self.current_context = kernel_context.get_current_context() except RuntimeError: - logger.debug(f"No context for thread {self}") + logger.debug(f"No context for thread {self._name}") def WidgetContextAwareThread__bootstrap(self): @@ -364,6 +364,7 @@ def patch_ipyreact(): # make this a no-op, we'll create the widget when needed ipyreact.importmap._update_import_map = lambda: None + def patch_ipyvue_performance(): import functools from collections.abc import Iterable