mypy! this key exists I promise! (beginner - intermediate) anthony explains

Опубликовано: 08 Октябрь 2024
на канале: anthonywritescode
1,442
69

today I talk about how to convince mypy that a key definitely exists in a dictionary -- or how to fix code where mypy thinks something might be optional!

mypy and "Optional:    • python typing: Optional is not option...  

playlist:    • anthony explains  

==========

twitch:   / anthonywritescode  
dicsord:   / discord  
twitter:   / 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!