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

Classes

class  types
 

Public Member Functions

 __init__ (self)
 
 add (self, Result result)
 

Detailed Description

Base class of all result lists (abstract).

Definition at line 26 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

searx.result_types.ResultList.__init__ ( self)

Definition at line 35 of file __init__.py.

35 def __init__(self):
36 # pylint: disable=useless-parent-delegation
37 super().__init__()
38

References __init__().

Referenced by __init__().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ add()

searx.result_types.ResultList.add ( self,
Result result )
Add a :py:`Result` item to the result list.

Definition at line 39 of file __init__.py.

39 def add(self, result: Result):
40 """Add a :py:`Result` item to the result list."""
41 self.append(result)
42
43

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