def get(self):
        urlsafe_start_cursor = self.request.get('cursor')
        query_type = self.request.get('query_type')

        if query_type == 'all_non_private_commits':
            all_commits, new_urlsafe_start_cursor, more = (
                exp_services.get_next_page_of_all_non_private_commits(
                    urlsafe_start_cursor=urlsafe_start_cursor))
        else:
            raise self.PageNotFoundException

        exp_ids = set([commit.exploration_id for commit in all_commits])
        exp_ids_to_exp_data = (
            exp_services.get_exploration_titles_and_categories(exp_ids))

        all_commit_dicts = [commit.to_dict() for commit in all_commits]
        self.render_json({
            'results': all_commit_dicts,
            'cursor': new_urlsafe_start_cursor,
            'more': more,
            'exp_ids_to_exp_data': exp_ids_to_exp_data,
        })
Refills tasks collection from json.
dataset/ETHPy150Open oppia/oppia/core/controllers/recent_commits.py/RecentCommitsHandler.get--crossover with--dataset/ETHPy150Open mrgambal/vulyk/vulyk/control.py/load