Media Summary: today I talk about the difference between object and Any when today I talk about why mypy doesn't need an annotation for the first argument! - introduction to today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ...

Python Typing Notimplemented Is A Bool Intermediate Anthony Explains 276 - Detailed Analysis & Overview

today I talk about the difference between object and Any when today I talk about why mypy doesn't need an annotation for the first argument! - introduction to today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... today I talk about the three generic types of ` today I follow up to the video about Protocol and show for doing some light structural today I talk about the several uses of Final / when

today I talk about the approach I take to gradual today I show you what the `TYPE_CHECKING` constant is in the ParamSpec / TypeVar / Callable oh my! this skips all of that and gives a simple easy-to-reuse decorator (and more!) today I talk about why I pick -˃ int for return values for main functions instead of -˃ None (which works)! - testable command lines: ...

Photo Gallery

python typing: NotImplemented is a bool? (intermediate) anthony explains #276
python typing: object vs Any (intermediate) anthony explains #275
python typing: why not self? (intermediate) anthony explains #076
python typing: Optional is not optional! (intermediate) anthony explains #146
python TypeGuard (PEP 647) (intermediate) anthony explains #439
NotImplemented vs NotImplementedError (beginner - intermediate) anthony explains #251
python typing: Generator[T, S, R] (intermediate) anthony explains #297
gradual typing python (and my approach) (beginner - intermediate) anthony explains #308
typing: Protocol + @runtime_checkable (intermediate) anthony explains #187
python typing: Final / @final (intermediate) anthony explains #132
opinion: don't bother typing tests (intermediate) anthony explains #347
python: NewType vs aliases (intermediate) anthony explains #368
View Detailed Profile
python typing: NotImplemented is a bool? (intermediate) anthony explains #276

python typing: NotImplemented is a bool? (intermediate) anthony explains #276

NotImplemented

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

python typing: why not self? (intermediate) anthony explains #076

python typing: why not self? (intermediate) anthony explains #076

today I talk about why mypy doesn't need an annotation for the first argument! - introduction to

python typing: Optional is not optional! (intermediate) anthony explains #146

python typing: Optional is not optional! (intermediate) anthony explains #146

today I talk about the Optional

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: ...

NotImplemented vs NotImplementedError (beginner - intermediate) anthony explains #251

NotImplemented vs NotImplementedError (beginner - intermediate) anthony explains #251

today I go over the easily confusable

python typing: Generator[T, S, R] (intermediate) anthony explains #297

python typing: Generator[T, S, R] (intermediate) anthony explains #297

today I talk about the three generic types of `

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: 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

python typing: Final / @final (intermediate) anthony explains #132

python typing: Final / @final (intermediate) anthony explains #132

today I talk about the several uses of Final / @final when

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

python: NewType vs aliases (intermediate) anthony explains #368

python: NewType vs aliases (intermediate) anthony explains #368

today is another

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

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

today I talk about the addition of `

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

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

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

today we're back talking about

typing decorators sucks! here's an easier way (intermediate) anthony explains #573

typing decorators sucks! here's an easier way (intermediate) anthony explains #573

ParamSpec / TypeVar / Callable oh my! this skips all of that and gives a simple easy-to-reuse decorator (and more!)

typing __getitem__ (python / mypy) (intermediate) anthony explains #045

typing __getitem__ (python / mypy) (intermediate) anthony explains #045

today I describe how to

Python's Type Annotations DON'T Do What You THINK They Do

Python's Type Annotations DON'T Do What You THINK They Do

I get a lot of comments regarding

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

typing: why main() -˃ int (beginner - intermediate) anthony explains #110

typing: why main() -˃ int (beginner - intermediate) anthony explains #110

today I talk about why I pick -˃ int for return values for main functions instead of -˃ None (which works)! - testable command lines: ...