.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.result_types.answer.WeatherAnswer Class Reference
Inheritance diagram for searx.result_types.answer.WeatherAnswer:
Collaboration diagram for searx.result_types.answer.WeatherAnswer:

Classes

class  Item

Static Public Attributes

str current : "WeatherAnswer.Item"
list forecasts = []
str service = ""
Static Public Attributes inherited from searx.result_types._base.Result
str url = None
str template = "default.html"
str engine = ""
urllib parsed_url = None

Additional Inherited Members

Public Member Functions inherited from searx.result_types._base.Result
 normalize_result_fields (self)
 __post_init__ (self)
 filter_urls (self, "Callable[[Result | LegacyResult, str, str], str | bool]" filter_func)
int __hash__ (self)
 __eq__ (self, object other)
 __setitem__ (self, str field_name, t.Any value)
t.Any __getitem__ (self, str field_name)
 __iter__ (self)
 as_dict (self)
 defaults_from (self, "Result" other)

Detailed Description

Answer type for weather data.

Definition at line 153 of file answer.py.

Member Data Documentation

◆ current

str searx.result_types.answer.WeatherAnswer.current : "WeatherAnswer.Item"
static

Definition at line 160 of file answer.py.

◆ forecasts

list searx.result_types.answer.WeatherAnswer.forecasts = []
static

Definition at line 163 of file answer.py.

◆ service

str searx.result_types.answer.WeatherAnswer.service = ""
static

Definition at line 166 of file answer.py.


The documentation for this class was generated from the following file:
  • /home/andrew/Documents/code/public/searxng/searx/result_types/answer.py