@property
    def main_context(self):
        return {
            'current_page': {
                'page_name': self.page_name,
                'title': self.page_title,
                'url': self.page_url,
                'parents': self.parent_pages,
            },
        }
:param string url: Optional URL of the repository.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqwebapp/views.py/BasePageView.main_context--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/repository.py/Repository.__init__