def summoner_masteries(self, region, summoner_id):

        url = '{0}/{1}/{2}/summoner/{3}/masteries?api_key={4}'.format(
                self.base_url,
                region,
                SUMMONER_VERSION,
                summoner_id,
                self.api_key)

        response = requests.get(url)
        response.raise_for_status()
        content = response.json()

        mastery_pages = []
        for page in content['pages']:
            mastery_pages.append(api_classes.MasteryPage(**page))

        return mastery_pages
Creates a Scheduler with "native" tasks already included, and the given additional tasks.
dataset/ETHPy150Open evangs/pyriot/pyriot/wrapper.py/PyRiot.summoner_masteries--crossover with--dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/engine/exp/scheduler_test_base.py/SchedulerTestBase.mk_scheduler