SyntaxFix
Write A Post
Hire A Developer
Questions
The @overload decorator was added with type hints (PEP 484).
@overload
While this doesn't change the behaviour of Python, it does make it easier to understand what is going on, and for mypy to detect errors.
See: Type hints and PEP 484