.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.search.models.EngineRef Class Reference

Public Member Functions

 __init__ (self, str name, str category)
 
 __repr__ (self)
 
 __eq__ (self, other)
 
 __hash__ (self)
 

Public Attributes

 name = name
 
 category = category
 

Static Private Attributes

str __slots__ = 'name', 'category'
 

Detailed Description

Reference by names to an engine and category

Definition at line 8 of file models.py.

Constructor & Destructor Documentation

◆ __init__()

searx.search.models.EngineRef.__init__ ( self,
str name,
str category )

Definition at line 13 of file models.py.

13 def __init__(self, name: str, category: str):
14 self.name = name
15 self.category = category
16

Member Function Documentation

◆ __eq__()

◆ __hash__()

◆ __repr__()

Member Data Documentation

◆ __slots__

str searx.search.models.EngineRef.__slots__ = 'name', 'category'
staticprivate

Definition at line 11 of file models.py.

◆ category

searx.search.models.EngineRef.category = category

◆ name


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