diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-17 07:54:37 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-17 11:18:17 +0100 |
commit | 1ed618222f17e205b684f6ef63cdaa470beb0dcb (patch) | |
tree | 81f124d8a05ccd1438b0d848945d6d283469e307 /tests/unit | |
parent | 96ab5e57ff92aba4ab0fedeb4e5fbfa09e9fc2e2 (diff) | |
download | searxng-1ed618222f17e205b684f6ef63cdaa470beb0dcb.tar.gz searxng-1ed618222f17e205b684f6ef63cdaa470beb0dcb.zip |
[typing] add ExtendedRequest
webapp.py monkey-patches the Flask request global.
This commit adds a type cast so that e.g. Pyright[1]
doesn't show "Cannot access member" errors everywhere.
[1]: https://github.com/microsoft/pyright
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions