Media Summary: today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... and I actually went a bit further after recording! (it now can reorder all of pre-commit
Is Python With Types Faster Intermediate Anthony Explains 126 - Detailed Analysis & Overview
today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... and I actually went a bit further after recording! (it now can reorder all of pre-commit today I show the tools and processes I used to improve today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ... today we go over the brand new variadic generics and how they change the
today I talk a little bit more about `tox --devenv` -- a little feature that's changed how I build today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ...