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

Sketch: new metadata model #1355

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft

Sketch: new metadata model #1355

wants to merge 27 commits into from

Conversation

gutzbenj
Copy link
Member

@gutzbenj gutzbenj commented Sep 14, 2024

Dear @amotl ,

I'm working on a new data model for parameter definition based on pydantic models. What's your opinion on this?

@amotl
Copy link
Member

amotl commented Sep 16, 2024

Hi @gutzbenj. I recently became a fan of attrs, a bit more than I had been before, specifically after learning about its new @define API, which works wash & go and DWIM as hell for me.

Examples:

So, if your intentions are more to build a parameter model, than needing the whole validation machinery of Pydantic, this could maybe also spark your interest.

@gutzbenj gutzbenj force-pushed the gutzbenj/parameter branch 9 times, most recently from b1da0ef to 7e8b0ac Compare November 24, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants