mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[typing] add type hints for dictionaries
This commit is contained in:
parent
6d43cf7952
commit
def62c3a47
4 changed files with 10 additions and 5 deletions
|
@ -15,6 +15,7 @@ __all__ = [
|
|||
]
|
||||
|
||||
import threading
|
||||
from typing import Dict
|
||||
|
||||
from searx import logger
|
||||
from searx import engines
|
||||
|
@ -26,7 +27,7 @@ from .online_currency import OnlineCurrencyProcessor
|
|||
from .abstract import EngineProcessor
|
||||
|
||||
logger = logger.getChild('search.processors')
|
||||
PROCESSORS = {}
|
||||
PROCESSORS: Dict[str, EngineProcessor] = {}
|
||||
"""Cache request processores, stored by *engine-name* (:py:func:`initialize`)"""
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue