Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate param.Parameterized to pydantic.BaseModel #828

Open
ahuang11 opened this issue Aug 31, 2023 · 0 comments
Open

Translate param.Parameterized to pydantic.BaseModel #828

ahuang11 opened this issue Aug 31, 2023 · 0 comments
Labels
TRIAGE User-submitted issue that hasn't been triaged yet. type-feature Feature request

Comments

@ahuang11
Copy link
Contributor

ahuang11 commented Aug 31, 2023

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: #809

@ahuang11 ahuang11 added type-feature Feature request TRIAGE User-submitted issue that hasn't been triaged yet. labels Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TRIAGE User-submitted issue that hasn't been triaged yet. type-feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant