.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`` singleton

Definition at line 37 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 41 of file config.py.

41 def __init__(self, msg):
42 self.msg = msg
43

Member Function Documentation

◆ __bool__()

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

Definition at line 44 of file config.py.

44 def __bool__(self):
45 return False
46

◆ __str__()

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

Definition at line 47 of file config.py.

47 def __str__(self):
48 return self.msg
49

References msg.

Member Data Documentation

◆ __repr__

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

Definition at line 50 of file config.py.

◆ msg

searx.botdetection.config.FALSE.msg = msg

Definition at line 42 of file config.py.

Referenced by __str__().


The documentation for this class was generated from the following file:
  • /home/andrew/Documents/code/public/searxng/searx/botdetection/config.py