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
So I'm curious: does your library provide any added features, or was it just a temporary way to have an assert_type function until the implementation in mypy?
The text was updated successfully, but these errors were encountered:
The latter, for sure "temporary way to have an assert_type function until the implementation in mypy"
I had some code which was very complex in terms of generic typing and needed a way to make sure changes to the codebase didn't change the resulting typing, and at the time mypy didn't support it (and I couldn't use the other type-checking libraries).
I'll be very happy to archive this library/repo when assert_type is something I'll be able to use in my code 😅
Hello,
It seems that mypy now has support for
assert_type
(related PR).Btw,
assert_type
will be in stdlib starting from Python 3.11 (although not doing anything by itself).So I'm curious: does your library provide any added features, or was it just a temporary way to have an
assert_type
function until the implementation in mypy?The text was updated successfully, but these errors were encountered: