3 ms·
Indeed! I despised them initially thinking typing made code unreadable. But I've grown used to it and I only use type hints when necessary. I use Pydantic when
by nitred 6y ago
Indeed! I despised them initially thinking typing made code unreadable. But I've grown used to it and I only use type hints when necessary. I use Pydantic when I need more than just "hints" and when validating config file schemas.
- EamonnMR 6y agoPydantic is extremely useful for validation and tab-completion. We've begun using it everywhere.