flask/tests/typing
pgjones e3bac56415 Improve the decorator typing
This will allow type checkers to understand that the decorators return
the same function signature as passed as an argument. This follows the
guidelines from
https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators.

I've chosen to keep a TypeVar per module and usage as I think
encouraged by PEP 695, which I hope is accepted as the syntax is much
nicer.
2022-07-06 21:12:59 +01:00
..
typing_error_handler.py add errorhandler type check tests 2022-06-05 15:44:28 -07:00
typing_route.py Improve the decorator typing 2022-07-06 21:12:59 +01:00