Marc Skov Madsen

Results 435 comments of Marc Skov Madsen

I've checked panel==0.10.0/ param==1.9.3 with this example ```python import param import panel as pn class MyClass(param.Parameterized): value = param.Number() options = [ MyClass(name="obj1"), MyClass(name="obj2") ] pn.widgets.Select(options=options).servable() ``` It does not...

I'm using the other examples because I believe they are all should behave similar using the `name` parameter. I guess I thought the widgets would use the `name` parameter by...

Ahh. I forgot the > Was this maybe the intent of the original post? > > ```python > import panel as pn > pn.extension() > > component1=pn.panel("Value1", name="V1") > component2=pn.panel("Value2",...

Its probably related to `Uncaught (in promise) Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.4 is not registered as a` Uncaught (in promise) Error: Module @bokeh/jupyter_bokeh, semver range ^3.0.4 is not registered...

I just tested with Panel 0.14.0. Now its a different error ![image](https://user-images.githubusercontent.com/42288570/196885006-d039296b-f95a-484b-87b8-c548ba1f7400.png) ## Additional Context A user is asking here about Panel in Jupyterlite https://discourse.holoviz.org/t/jupyterlite/4405

Still not working ![image](https://user-images.githubusercontent.com/42288570/201531198-00ebea15-7489-4bb0-8310-c5708e1438e5.png)

Does this also include being able to panel.depends on Pydantic models?

A proof of concept for converting back and forth between Param and Pydantic classes can be found here https://discourse.holoviz.org/t/how-would-i-create-a-parameterized-class-programmatically/3149/2. A user trying out Param inspired by Pydantic is here https://discourse.holoviz.org/t/creating-an-optional-datetime-parameter-using-param/3147/6.

One way to support Pydantic would be to just "wrap" the pydantic instance into a `Pydantic` pane. That can be done with the above proof of concept `pydantic_to_param_class`. ```python parameterized_instance...

![image](https://user-images.githubusercontent.com/42288570/145469305-87c5f5e9-d493-49e8-b9f8-8161a6879f4c.png)