holoviz / holoviz/param

Translate param.Parameterized to pydantic.BaseModel

Open
#828 15 comments 0 reactions 0 assignees View on GitHub
type-feature
Dominant language
Python
Stars
521
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
35

Description

Jim mentioned adding what Marc and I shared on Discourse to param, perhaps as a util(?), or simply briefly mention in docs.
https://discourse.holoviz.org/t/how-would-i-create-a-parameterized-class-programmatically/3149/4?u=ahuang11

Note, this does not handle converting param methods at all; simply incompletely translating the parameters into fields.

The opposite issue (converting from pydantic -> param) can be found here: https://github.com/holoviz/param/issues/809

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.