Closed jhthompson closed 2 weeks ago
Closes #48
Inspired by:
The use of @overload for typing is new to me, but comes straight from mypy's documentation on decorator factories:
@overload
Sometimes the same decorator supports both bare calls and calls with arguments. This can be achieved by combining with @overload ...
Adam's great post "Python type hints: how to use @overload" was also helpful in understanding that concept.
Closes #48
Inspired by:
The use of
@overload
for typing is new to me, but comes straight from mypy's documentation on decorator factories:Adam's great post "Python type hints: how to use @overload" was also helpful in understanding that concept.