.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.engines.wikidata.WDImageAttribute Class Reference
+ Inheritance diagram for searx.engines.wikidata.WDImageAttribute:
+ Collaboration diagram for searx.engines.wikidata.WDImageAttribute:

Public Member Functions

 __init__ (self, name, url_id=None, priority=100)
 
- Public Member Functions inherited from searx.engines.wikidata.WDURLAttribute
 get_str (self, result, language)
 
- Public Member Functions inherited from searx.engines.wikidata.WDAttribute
 get_select (self)
 
 get_label (self, language)
 
 get_where (self)
 
 get_wikibase_label (self)
 
 get_group_by (self)
 
 __repr__ (self)
 

Public Attributes

 priority = priority
 
- Public Attributes inherited from searx.engines.wikidata.WDURLAttribute
 url_id = url_id
 
 kwargs = kwargs
 
- Public Attributes inherited from searx.engines.wikidata.WDAttribute
 name = name
 

Static Private Attributes

tuple __slots__ = ('priority',)
 

Additional Inherited Members

- Static Public Attributes inherited from searx.engines.wikidata.WDURLAttribute
str HTTP_WIKIMEDIA_IMAGE = 'http://commons.wikimedia.org/wiki/Special:FilePath/'
 

Detailed Description

Definition at line 646 of file wikidata.py.

Constructor & Destructor Documentation

◆ __init__()

searx.engines.wikidata.WDImageAttribute.__init__ ( self,
name,
url_id = None,
priority = 100 )

Reimplemented from searx.engines.wikidata.WDURLAttribute.

Definition at line 650 of file wikidata.py.

650 def __init__(self, name, url_id=None, priority=100):
651 super().__init__(name, url_id)
652 self.priority = priority
653
654

References searx.engines.wikidata.WDImageAttribute.__init__().

Referenced by searx.engines.wikidata.WDImageAttribute.__init__().

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

Member Data Documentation

◆ __slots__

tuple searx.engines.wikidata.WDImageAttribute.__slots__ = ('priority',)
staticprivate

Definition at line 648 of file wikidata.py.

◆ priority

searx.engines.wikidata.WDImageAttribute.priority = priority

Definition at line 652 of file wikidata.py.


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