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

Data validation #364

Open
egpbos opened this issue Nov 20, 2024 · 1 comment
Open

Data validation #364

egpbos opened this issue Nov 20, 2024 · 1 comment

Comments

@egpbos
Copy link
Member

egpbos commented Nov 20, 2024

In #359, we started discussing data validation tools in Python: attrs (lightweight, convenient for value validation) and pydantic (use type hints for data type validation) were mentioned.

It seems convenient at least for configuration file handling, so in any case I think we should add it to the python chapter.

However, I'm wondering if it makes sense to discuss validation a bit more broadly in the data chapter. What useful experiences can we add from other perspectives? Are there similar packages in other languages worth mentioning?

@bouweandela
Copy link
Member

Using a schema for validating configuration files could also be a good option.

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

No branches or pull requests

2 participants