def headings_by_level(self, level, name=None):
        if name is None:
            name = "{0}({1})".format(self._name + ".headings_by_level",
                                     level)
        return filters.filter(HeadingOfLevel(level).filter, self.headings,
                              name=name)
Return a Keystone session for the admin user.
dataset/ETHPy150Open wiki-ai/revscoring/revscoring/features/wikitext/datasources/parsed.py/Revision.headings_by_level--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/utils/openstack/keystone.py/session_for_admin