.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self, language, kwargs=None) | |
get_label (self, language) | |
get_select (self) | |
get_where (self) | |
get_group_by (self) | |
get_str (self, result, language) | |
Public Member Functions inherited from searx.engines.wikidata.WDAttribute | |
get_wikibase_label (self) | |
__repr__ (self) | |
Public Attributes | |
language = language | |
kwargs = kwargs or {} | |
Public Attributes inherited from searx.engines.wikidata.WDAttribute | |
name = name | |
Static Private Attributes | |
str | __slots__ = 'language', 'kwargs' |
Definition at line 545 of file wikidata.py.
searx.engines.wikidata.WDArticle.__init__ | ( | self, | |
language, | |||
kwargs = None ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 549 of file wikidata.py.
References searx.engines.wikidata.WDArticle.__init__().
Referenced by searx.engines.wikidata.WDArticle.__init__().
searx.engines.wikidata.WDArticle.get_group_by | ( | self | ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 569 of file wikidata.py.
References searx.engines.wikidata.WDAmountAttribute.get_select(), searx.engines.wikidata.WDArticle.get_select(), searx.engines.wikidata.WDAttribute.get_select(), searx.engines.wikidata.WDDateAttribute.get_select(), searx.engines.wikidata.WDGeoAttribute.get_select(), and searx.engines.wikidata.WDLabelAttribute.get_select().
searx.engines.wikidata.WDArticle.get_label | ( | self, | |
language ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 554 of file wikidata.py.
References searx.engines.wikidata.WDArticle.language.
searx.engines.wikidata.WDArticle.get_select | ( | self | ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 558 of file wikidata.py.
References searx.engines.wikidata.WDArticle.language.
Referenced by searx.engines.wikidata.WDAmountAttribute.get_group_by(), searx.engines.wikidata.WDArticle.get_group_by(), searx.engines.wikidata.WDDateAttribute.get_group_by(), and searx.engines.wikidata.WDGeoAttribute.get_group_by().
searx.engines.wikidata.WDArticle.get_str | ( | self, | |
result, | |||
language ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 572 of file wikidata.py.
References searx.engines.wikidata.WDArticle.language.
searx.engines.wikidata.WDArticle.get_where | ( | self | ) |
Reimplemented from searx.engines.wikidata.WDAttribute.
Definition at line 561 of file wikidata.py.
References searx.engines.wikidata.WDArticle.language.
Definition at line 547 of file wikidata.py.
searx.engines.wikidata.WDArticle.kwargs = kwargs or {} |
Definition at line 552 of file wikidata.py.
searx.engines.wikidata.WDArticle.language = language |
Definition at line 551 of file wikidata.py.
Referenced by searx.engines.wikidata.WDArticle.get_label(), searx.engines.wikidata.WDArticle.get_select(), searx.engines.wikidata.WDArticle.get_str(), and searx.engines.wikidata.WDArticle.get_where().