Hacker News new | ask | show | jobs
by dnadler 1821 days ago
We've had a similar experience using pydantic. We integrated it quite tightly with a django project and it's been awesome.
1 comments

Where did you find it valuable to wire in to Django?
We effectively use them as serializers, and also as a way to allow users to interact with the models in a controlled manner.

In our app, django essentially sits between a compute cluster and a front end. The pydantic objects are used to define the work to be done on the compute cluster.