3 ms·
More specifically, Pydantic. It's great!
by manojlds 6y ago
More specifically, Pydantic. It's great!
- avolcano 6y agoAh, thanks, I hadn't realized that's the underlying library! Runtime validation of types is absolutely the largest missing feature from TypeScript, IMO, so Pydantic is really impressive to me.
- ensignavenger 6y agoYes, I have been using Pydantic with my Django projects, and it is great!
- mattanimation 6y agoFastAPI got me turned onto Pydantic, both are awesome!
- marliechiller 6y agoI use pydantic all over the place now. FastAPI was what introduced it to me. Its really nice to be able to take advantage of the autocompletion when utilizing pydantic models rather than a straight dictionary. Now, in a lot of instances I use the pydantic models instead of dictionaries as it feels more explicit