diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-07-30 18:40:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-30 18:40:16 +0200 |
| commit | 88733c0ce6e76a78593b8e4060e33a617cce3cd8 (patch) | |
| tree | d5ed9ed522b308b8d572b119da315196dd69ae87 /searx/compat.py | |
| parent | ededaab807a22abdd69a7c802cda3bb256d6ab51 (diff) | |
| parent | 2babf59adcc9576e6520337515ff150e6434ad85 (diff) | |
Merge pull request #1569 from dalf/fix-pyright-reported-errors
Fix pyright errors
Diffstat (limited to 'searx/compat.py')
| -rw-r--r-- | searx/compat.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/searx/compat.py b/searx/compat.py index 504df7da2..15e27d45d 100644 --- a/searx/compat.py +++ b/searx/compat.py @@ -7,8 +7,11 @@ # pylint: disable=C,R +__all__ = ('cached_property',) + + try: - from functools import cached_property # pylint: disable=unused-import + from functools import cached_property # type: ignore except ImportError: |