Media Summary: today I talk about explicit type aliases in today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... today we introduce another typing / mypy concept:

Python Variadic Generics Pep 646 Intermediate Advanced Anthony Explains 433 - Detailed Analysis & Overview

today I talk about explicit type aliases in today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... today we introduce another typing / mypy concept: today we're back talking about typing in mypy -- I show you two ways to debug types during type checking as well as a hint about ... today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ... 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 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 difference between object and Any when typing things! - intro to typing / mypy: ... today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ... today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! playlist: ... today I talk about a bit of a hidden gem in today I follow up to the video about Protocol and show for doing some light structural type checking at ...

today I talk about the approach I take to gradual typing in old man yells at walrus -- I show some weird (intentional) scoping issues with comprehensions! playlist: ...

Photo Gallery

python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433
python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365
python TypeGuard (PEP 647) (intermediate) anthony explains #439
python Generics (intermediate) anthony explains #430
debugging mypy types (beginner - intermediate) anthony explains #299
gradual typing python (and my approach) (beginner - intermediate) anthony explains #308
typing Self (PEP 673) (intermediate) anthony explains #418
python typing: TYPE_CHECKING (intermediate) anthony explains #312
python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247
python typing: object vs Any (intermediate) anthony explains #275
python descriptors! (advanced) anthony explains #519
are your python tests even running? (intermediate) anthony explains #438
View Detailed Profile
python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433

python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433

today we go over the brand new

python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365

python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365

today I talk about explicit type aliases in

python TypeGuard (PEP 647) (intermediate) anthony explains #439

python TypeGuard (PEP 647) (intermediate) anthony explains #439

today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ...

python Generics (intermediate) anthony explains #430

python Generics (intermediate) anthony explains #430

today we introduce another typing / mypy concept:

debugging mypy types (beginner - intermediate) anthony explains #299

debugging mypy types (beginner - intermediate) anthony explains #299

today we're back talking about typing in mypy -- I show you two ways to debug types during type checking as well as a hint about ...

gradual typing python (and my approach) (beginner - intermediate) anthony explains #308

gradual typing python (and my approach) (beginner - intermediate) anthony explains #308

today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ...

typing Self (PEP 673) (intermediate) anthony explains #418

typing Self (PEP 673) (intermediate) anthony explains #418

today I talk about the addition of `typing.Self` in python3.11 and why it's useful as well as several workarounds for older

python typing: TYPE_CHECKING (intermediate) anthony explains #312

python typing: TYPE_CHECKING (intermediate) anthony explains #312

today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ...

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

today I talk about exception handling in

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

python descriptors! (advanced) anthony explains #519

python descriptors! (advanced) anthony explains #519

today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ...

are your python tests even running? (intermediate) anthony explains #438

are your python tests even running? (intermediate) anthony explains #438

today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! playlist: ...

easy fake objects with python's SimpleNamespace (beginner - intermediate) anthony explains #143

easy fake objects with python's SimpleNamespace (beginner - intermediate) anthony explains #143

today I talk about a bit of a hidden gem in

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

typing: Protocol + @runtime_checkable (intermediate) anthony explains #187

today I follow up to the video about Protocol and show @runtime_checkable for doing some light structural type checking at ...

opinion: don't bother typing tests (intermediate) anthony explains #347

opinion: don't bother typing tests (intermediate) anthony explains #347

today I talk about the approach I take to gradual typing in

python comprehensions leak scope again (intermediate) anthony explains #432

python comprehensions leak scope again (intermediate) anthony explains #432

old man yells at walrus -- I show some weird (intentional) scoping issues with comprehensions! playlist: ...