Media Summary: today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ... today I talk about the warnings module and the argument you *absolutely* need whenever you raise a warning (as well as how to ... today I talk about a little trick utilizing object() and why you might also need the same thing! playlist: ...
What S Wrong With Python S Blank Except Beginner Intermediate Anthony Explains 008 - Detailed Analysis & Overview
today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ... today I talk about the warnings module and the argument you *absolutely* need whenever you raise a warning (as well as how to ... today I talk about a little trick utilizing object() and why you might also need the same thing! playlist: ... today we talk about type aliases -- a nifty way to shorten some verbose type names or expose a named "type" playlist: ... today I talk about why mypy doesn't need an annotation for the first argument! - introduction to typing / mypy: ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...
today I talk about a bit of a hidden gem in today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... 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 go over all the options and use cases for fixtures in pytest! - testing a commandline with pytest: ... today I talk about the any / all builtins in