today I talk about the @overload decorator for typing and how it can be used to signal typed-dispatch to a type checker! I also demo a few quick use cases
- what is Ellipsis: https://youtu.be/yLwvOwTO068
- unpacking a Union: https://youtu.be/yH6L3UiK9WM
playlist: https://www.youtube.com/playlist?list=PLWBKAf81pmOaP9naRiNAqug6EBnkPakvY
==========
twitch: https://twitch.tv/anthonywritescode
dicsord: https://discord.gg/xDKGPaW
twitter: https://twitter.com/codewithanthony
github: https://github.com/asottile
stream github: https://github.com/anthonywritescode
I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Download
0 formats
No download links available.
python typing: @overload (intermediate) anthony explains #163 | NatokHD