Y
Hacker News
new
|
ask
|
show
|
jobs
by
mixmastamyk
252 days 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.
1 comments
flanked-evergl
251 days ago
Pydantic 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/
link
mixmastamyk
251 days ago
I see. Tried ty and it seemed to know about missing required args. But wasn't able to follow the Field directives.
link