.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self) | |
add_error (self, test, message, *args) | |
add_language (self, language) | |
successful (self) | |
__iter__ (self) | |
Public Attributes | |
dict | errors = {} |
dict | logs = {} |
typing.Set[str] | languages = set() |
Static Private Attributes | |
str | __slots__ = 'errors', 'logs', 'languages' |
searx.search.checker.impl.TestResults.__init__ | ( | self | ) |
searx.search.checker.impl.TestResults.__iter__ | ( | self | ) |
Definition at line 179 of file impl.py.
References searx.search.checker.background.EngineErr.errors, searx.search.checker.impl.TestResults.errors, and searx.webapp.ExtendedRequest.errors.
searx.search.checker.impl.TestResults.add_error | ( | self, | |
test, | |||
message, | |||
* | args ) |
Definition at line 162 of file impl.py.
References searx.search.checker.background.EngineErr.errors, searx.search.checker.impl.TestResults.errors, searx.webapp.ExtendedRequest.errors, and searx.search.checker.impl.TestResults.logs.
searx.search.checker.impl.TestResults.add_language | ( | self, | |
language ) |
Definition at line 172 of file impl.py.
References searx.enginelib.traits.EngineTraits.languages, searx.query.RawTextQuery.languages, searx.search.checker.impl.ResultContainerTests.languages, and searx.search.checker.impl.TestResults.languages.
searx.search.checker.impl.TestResults.successful | ( | self | ) |
Definition at line 176 of file impl.py.
References searx.search.checker.background.EngineErr.errors, searx.search.checker.impl.TestResults.errors, and searx.webapp.ExtendedRequest.errors.
searx.search.checker.impl.TestResults.errors = {} |
Definition at line 158 of file impl.py.
Referenced by searx.search.checker.impl.TestResults.__iter__(), searx.search.checker.impl.TestResults.add_error(), and searx.search.checker.impl.TestResults.successful().
typing.Set[str] searx.search.checker.impl.TestResults.languages = set() |
Definition at line 160 of file impl.py.
Referenced by searx.search.checker.impl.ResultContainerTests._add_language(), searx.search.checker.impl.TestResults.add_language(), and searx.enginelib.traits.EngineTraits.get_language().
dict searx.search.checker.impl.TestResults.logs = {} |
Definition at line 159 of file impl.py.
Referenced by searx.search.checker.impl.TestResults.add_error().