def query(self, properties=None, filteriw=None, showalldb=None,
              numberinggroup=None, inlanguagecode=None):

        siprop = self._items(properties, levels=self.PROPERTIES)

        doc = self.session.get(
            {
                'action': "query",
                'meta': "siteinfo",
                'siprop': siprop,
                'sifilteriw': filteriw,
                'sishowalldb': showalldb,
                'sinumberinggroup': numberinggroup,
                'siinlanguagecode': inlanguagecode
            }
        )

        try:
            return doc['query']
        except KeyError as e:
            raise MalformedResponse(str(e), doc)
Reads a template string from file.
dataset/ETHPy150Open mediawiki-utilities/python-mediawiki-utilities/mw/api/collections/site_info.py/SiteInfo.query--crossover with--dataset/ETHPy150Open libyal/libyal/scripts/overview-generate.py/WikiPageGenerator._ReadTemplateFile