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 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 😅
Activity
thejcannon commentedon Aug 22, 2022
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
mypydidn'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_typeis something I'll be able to use in my code 😅Rogdham commentedon Aug 22, 2022
Alright, noted, thank you for the answer!
Right now, something like the following can be used: