improve type hints for send_file and send_from_directory

This commit is contained in:
Grey Li 2021-05-12 22:52:25 +08:00 committed by David Lord
parent 6414df9756
commit d5aadba4d3
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 32 additions and 22 deletions

View file

@ -13,6 +13,8 @@ Unreleased
- Fix type annotation for ``g`` and inform mypy that it is a namespace
object that has arbitrary attributes. :issue:`4020`
- Fix some types that weren't available in Python 3.6.0. :issue:`4040`
- Improve typing for ``send_file``, ``send_from_directory``, and
``get_send_file_max_age``. :issue:`4044`, :pr:`4026`
Version 2.0.0