.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

WeatherAnswer current .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, other)
 __setitem__ (self, field_name, value)
 __getitem__ (self, field_name)
 __iter__ (self)
 as_dict (self)
 defaults_from (self, Result other)

Detailed Description

Answer type for weather data.

Definition at line 154 of file answer.py.

Member Data Documentation

◆ current

WeatherAnswer searx.result_types.answer.WeatherAnswer.current .Item
static

Definition at line 161 of file answer.py.

◆ forecasts

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

Definition at line 164 of file answer.py.

◆ service

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

Definition at line 167 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