Skip to content

Commit b618136

Browse files
authored
Update data-classes.md
Add pydantic reference
1 parent 1d8f035 commit b618136

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/training_resources/python/data-classes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ So now, in addition to the benefits we had previously, we can also have checks a
145145

146146
You don't have to define a `__postinit__` method but it can be useful in certain situations.
147147

148+
### Open-source validation libraries
149+
For more advanced use-cases, there are open-source libraries of validations which build on the idea of data classes - one widely used example is [Pydantic](https://docs.pydantic.dev/latest/) which is definitely worth exploring once you've understood the concepts introduced in this guide!
150+
148151
## Further reading
149152

150153
- [Data classes guide on Data Quest](https://www.dataquest.io/blog/how-to-use-python-data-classes/)

0 commit comments

Comments
 (0)