3 ms·
Why would they need to support pydantic when it uses standard annotations? I tried it with ty yesterday and it flagged issues as expected.
by mixmastamyk 1y ago
Why would they need to support pydantic when it uses standard annotations? I tried it with ty yesterday and it flagged issues as expected.
- flanked-evergl 1y agoPydantic does some pretty strange stuff which works as expected but confuses the type checker unless you use the pydantic plugin. https://docs.pydantic.dev/latest/integrations/mypy/ https://docs.pydantic.dev/latest/integrations/mypy/
- mixmastamyk 1y agoI see. Tried ty and it seemed to know about missing required args. But wasn't able to follow the Field directives.