-
Couldn't load subscription status.
- Fork 13
Closed
Description
After merging main into #143 I get
Warning: Duplicate qualified model declaration of 'MuiNotification'. Previous definition: <class 'bokeh.core.has_props.MuiNotification'>
Traceback (most recent call last):
File "/home/jovyan/repos/private/panel-material-ui/.pixi/envs/test-312/lib/python3.12/site-packages/panel/io/handlers.py", line 412, in run
exec(self._code, module.__dict__)
File "/home/jovyan/repos/private/panel-material-ui/examples/apps/dashboard/dashboard.py", line 4, in <module>
import panel_material_ui as pmu
File "/home/jovyan/repos/private/panel-material-ui/src/panel_material_ui/__init__.py", line 5, in <module>
from .notifications import NotificationArea # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/repos/private/panel-material-ui/src/panel_material_ui/notifications.py", line 161, in <module>
_DATA_MODELS[MuiNotification] = construct_data_model(MuiNotification)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/repos/private/panel-material-ui/.pixi/envs/test-312/lib/python3.12/site-packages/panel/io/datamodel.py", line 213, in construct_data_model
return type(name, (DataModel,), properties)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/repos/private/panel-material-ui/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/core/has_props.py", line 209, in __new__
return super().__new__(cls, class_name, bases, class_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/repos/private/panel-material-ui/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/model/model.py", line 89, in __init_subclass__
super().__init_subclass__()
File "/home/jovyan/repos/private/panel-material-ui/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/core/has_props.py", line 289, in __init_subclass__
_default_resolver.add(cls)
File "/home/jovyan/repos/private/panel-material-ui/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/core/has_props.py", line 153, in add
raise Warning(f"Duplicate qualified model declaration of '{cls.__qualified_model__}'. Previous definition: {previous}")
Warning: Duplicate qualified model declaration of 'MuiNotification'. Previous definition: <class 'bokeh.core.has_props.MuiNotification'>when running panel serve examples/apps/dashboard/dashboard.py --dev and changing my code triggering an update.
Metadata
Metadata
Assignees
Labels
No labels