.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.extended_types.SXNG_Response Class Reference
Inheritance diagram for searx.extended_types.SXNG_Response:
Collaboration diagram for searx.extended_types.SXNG_Response:

Static Public Attributes

bool search_params : "ParamTypes"

Detailed Description

SearXNG extends the class :py:obj:`httpx.Response` with properties from
*this* class (type cast of :py:obj:`httpx.Response`).

.. code:: python

   response = httpx.get("https://example.org")
   response = typing.cast(SXNG_Response, response)
   if response.ok:
      ...
   query_was = search_params["query"]

Definition at line 72 of file extended_types.py.

Member Data Documentation

◆ search_params

bool searx.extended_types.SXNG_Response.search_params : "ParamTypes"
static

Definition at line 86 of file extended_types.py.


The documentation for this class was generated from the following file: