diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-11-05 17:50:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-05 17:50:40 +0100 |
| commit | d37afb8ab90f75f888179b6efd3e1e8977ef6dea (patch) | |
| tree | 181d2b38112d9439f836e6d9a286f5355a311ffa /searx/shared/shared_abstract.py | |
| parent | d764d94a70b0b10291105a867227975d59af5675 (diff) | |
| parent | e92755d358df5b34b0181f48f8ba02c7f2939e8f (diff) | |
Merge pull request #1856 from dalf/checker_requires_redis
The checker requires Redis
Diffstat (limited to 'searx/shared/shared_abstract.py')
| -rw-r--r-- | searx/shared/shared_abstract.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/searx/shared/shared_abstract.py b/searx/shared/shared_abstract.py deleted file mode 100644 index af4be30ae..000000000 --- a/searx/shared/shared_abstract.py +++ /dev/null @@ -1,22 +0,0 @@ -# SPDX-License-Identifier: AGPL-3.0-or-later -# pyright: strict -from abc import ABC, abstractmethod -from typing import Optional - - -class SharedDict(ABC): - @abstractmethod - def get_int(self, key: str) -> Optional[int]: - pass - - @abstractmethod - def set_int(self, key: str, value: int): - pass - - @abstractmethod - def get_str(self, key: str) -> Optional[str]: - pass - - @abstractmethod - def set_str(self, key: str, value: str): - pass |