jmosbacher / pydantic-panel

Edit pydantic models with widgets from the awesome Panel package
MIT License
24 stars 3 forks source link

Make it ok to use the Pydantic pane directly #9

Closed MarcSkovMadsen closed 2 years ago

MarcSkovMadsen commented 2 years ago

Request

Remove This pane is not expected to be used directly from Pydantic docstring.

Motivation

I love the fact that you support using pn.panel(model). But I don't see any reasons why I could not use Pydantic(model) directly. And sometimes it can be better to be very explicit about which Pane you use.

image

MarcSkovMadsen commented 2 years ago

An added benefit is also that you can get specific help if good docstrings like below are added

image

jmosbacher commented 2 years ago

Good point.

jmosbacher commented 2 years ago

Fixed in #16