.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
 

Static Private Attributes

 __repr__ = __str__
 

Detailed Description

Class of ``False`` singelton

Definition at line 34 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 38 of file config.py.

38 def __init__(self, msg):
39 self.msg = msg
40

Member Function Documentation

◆ __bool__()

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

Definition at line 41 of file config.py.

41 def __bool__(self):
42 return False
43

◆ __str__()

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

Definition at line 44 of file config.py.

44 def __str__(self):
45 return self.msg
46

References searx.botdetection.config.FALSE.msg.

Member Data Documentation

◆ __repr__

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

Definition at line 47 of file config.py.

◆ msg

searx.botdetection.config.FALSE.msg

Definition at line 39 of file config.py.

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


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