Media Summary: today I talk about explicit type aliases in today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ... today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ...
Python Typeguard Pep 647 Intermediate Anthony Explains 439 - Detailed Analysis & Overview
today I talk about explicit type aliases in today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ... today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ... today I talk about whether adding type annotations to today I talk about conditional dependencies for platform-specific deps using environment markers! - dealing with backported ... today I talk about the absolutely-fastest way to start
00:00 (Welcome) 00:20 (Make Invalid States Unrepresentable - Bruce Eckel) ... today I talk about how to package up typed code -- either inline types or typing stubs and distribute it via pypi! - intro to typing: ... today I show how to properly handle boolean options in argparse as well as an easy mistake to avoid! - argparse tutorial: ... today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ... today I talk about the addition of `typing.Self` in python3.11 and why it's useful as well as several workarounds for older today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...
today I talk about why I pick -˃ int for return values for main functions instead of -˃ None (which works)! - testable command lines: ... today I talk about how to type annotate a -- fortunately it's really easy! - what is ... today I follow up to the video about Protocol and show for doing some light structural type checking at ... today I share a useful trick that I get asked about a lot on stream when pushing branches! playlist: ...