4 ms·
We've had a similar experience using pydantic. We integrated it quite tightly with a django project and it's been awesome.
by dnadler 5y ago
We've had a similar experience using pydantic. We integrated it quite tightly with a django project and it's been awesome.
- theptip 5y agoWhere did you find it valuable to wire in to Django?
- dnadler 5y agoWe 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.