You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repository example is not completely annotated. mypy config (currently in setup.cfg) does not cover the example: it should cover the whole examples/ directory.
It looks like this means some minor annotation fixes in the example (mostly to deal with roles dictionary items).
I ... don't know. I like them so much now that I just kind of assumed.
To be clear, I do think that
we should aim to cover most of our code with static typing
we should document this as the safest way to use the APIs: if applications check types statically that means our validation code can concentrate on validating deserialized json (instead of concentrating on validating application provided input)
Activity
lukpueh commentedon Nov 30, 2021
Quick question, is there a consensus (#1130, #1301..?) to use type annotations everywhere?
jku commentedon Nov 30, 2021
I ... don't know. I like them so much now that I just kind of assumed.
To be clear, I do think that
MVrachev commentedon Dec 1, 2021
I can take this one as I already added
exampleslocally when addressing comments for #1699.