def get_context_data(self, **kwargs):
        context = super(TabView, self).get_context_data(**kwargs)
        try:
            tab_group = self.get_tabs(self.request, **kwargs)
            context["tab_group"] = tab_group
            # Make sure our data is pre-loaded to capture errors.
            context["tab_group"].load_tab_data()
        except Exception:
            exceptions.handle(self.request)
        return context
Adds the ``tab_group`` variable to the context data.
dataset/ETHPy150Open CiscoSystems/avos/horizon/tabs/views.py/TabView.get_context_data