.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.botdetection.config.FALSE Class Reference

Public Member Functions

 __init__ (self, msg)
 
 __bool__ (self)
 
 __str__ (self)
 

Public Attributes

 msg = msg
 

Static Private Attributes

 __repr__ = __str__
 

Detailed Description

Class of ``False`` singelton

Definition at line 24 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

searx.botdetection.config.FALSE.__init__ ( self,
msg )

Definition at line 28 of file config.py.

28 def __init__(self, msg):
29 self.msg = msg
30

Member Function Documentation

◆ __bool__()

searx.botdetection.config.FALSE.__bool__ ( self)

Definition at line 31 of file config.py.

31 def __bool__(self):
32 return False
33

◆ __str__()

searx.botdetection.config.FALSE.__str__ ( self)

Definition at line 34 of file config.py.

34 def __str__(self):
35 return self.msg
36

References searx.botdetection.config.FALSE.msg.

Member Data Documentation

◆ __repr__

searx.botdetection.config.FALSE.__repr__ = __str__
staticprivate

Definition at line 37 of file config.py.

◆ msg

searx.botdetection.config.FALSE.msg = msg

Definition at line 29 of file config.py.

Referenced by searx.botdetection.config.FALSE.__str__().


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