Explore >> Select a destination


You are here

adamj.eu
| | nickdrozd.github.io
3.7 parsecs away

Travel
| | Mypy is a typechecker for Python. It's not the official typechecker for Python. There is no official typechecker. But Mypy seems to be the official-est. I use it, and it's mostly pretty great.
| | bfontaine.net
2.7 parsecs away

Travel
| | Tips and tricks in Python, Bash, Clojure and other languages/environments.
| | hackycode.com
3.7 parsecs away

Travel
| | The Problem I was recently working on a project and decided to use Tortoise ORM. I appreciated the small footprint, ease of use, and the first class async support. However, I was disappointed to find that it didn't support parameter hints when creating an instance of a model. The IDE only shows **kwargs when creating a Tortoise ORM model instance Working Towards a Solution Libraries like PyDantic and msgspec already support this feature, so I knew it must be possible.
| | kishstats.com
10.7 parsecs away

Travel
| Type hinting was added to the Python standard library starting in version 3.5. Python, being a dynamically typed language, does not enforce data types. Howev...