.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self, name, url_id=None, kwargs=None) | |
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 | |
url_id = url_id | |
kwargs = kwargs | |
Public Attributes inherited from searx.engines.wikidata.WDAttribute | |
name = name | |
Static Public Attributes | |
str | HTTP_WIKIMEDIA_IMAGE = 'http://commons.wikimedia.org/wiki/Special:FilePath/' |
Static Private Attributes | |
str | __slots__ = 'url_id', 'kwargs' |
Definition at line 591 of file wikidata.py.
searx.engines.wikidata.WDURLAttribute.__init__ | ( | self, | |
name, | |||
url_id = None, | |||
kwargs = None ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Reimplemented in searx.engines.wikidata.WDImageAttribute.
Definition at line 597 of file wikidata.py.
References searx.engines.wikidata.WDURLAttribute.__init__().
Referenced by searx.engines.wikidata.WDURLAttribute.__init__().
searx.engines.wikidata.WDURLAttribute.get_str | ( | self, | |
result, | |||
language ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 602 of file wikidata.py.
References searx.engines.wikidata.WDAmountAttribute.name, searx.engines.wikidata.WDAttribute.name, searx.engines.wikidata.WDDateAttribute.name, searx.engines.wikidata.WDGeoAttribute.name, searx.engines.wikidata.WDLabelAttribute.name, searx.preferences.BooleanChoices.name, searx.search.models.EngineRef.name, and searx.engines.wikidata.WDURLAttribute.url_id.
Definition at line 595 of file wikidata.py.
|
static |
Definition at line 593 of file wikidata.py.
searx.engines.wikidata.WDURLAttribute.kwargs = kwargs |
Definition at line 600 of file wikidata.py.
searx.engines.wikidata.WDURLAttribute.url_id = url_id |
Definition at line 599 of file wikidata.py.
Referenced by searx.engines.wikidata.WDURLAttribute.get_str().