You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not right now. I also wouldn't know what in particular to add, because my experience with it is limited. However, I'm sure there are useful things to say about mypy, maybe pydantic, or other aspects. If somebody else wants to pick this up, feel free!
Yeah for type hints!
Especially the automated tools can be (more) helpful if you provide some hints.
If you don't want to go all-out with hints, it still makes sense to add them to the public API of your code, to help others re-use it.
Adding an intro to type hints with some background is here
Added a subsection on type hints, following the discussion in #310. Also added a few cool libraries, e.g. FastAPI that was mentioned by Bouwe in #54 and Typer from the same author.
Fixes#310.
I noticed that there is no information on type hints in the Python chapter. Would you have time to add this @egpbos?
The text was updated successfully, but these errors were encountered: