.oO SearXNG Developer Documentation Oo.
|
Additional Inherited Members | |
![]() | |
__init__ (self) | |
add (self, Result|LegacyResult result) | |
Result list that should be used by engine developers. For convenience, engine developers don't need to import types / see :py:obj:`ResultList.types`. .. code:: python from searx.result_types import EngineResults ... def response(resp) -> EngineResults: res = EngineResults() ... res.add( res.types.Answer(answer="lorem ipsum ..", url="https://example.org") ) ... return res
Definition at line 51 of file __init__.py.