def from_views()

in generator/explores/growth_accounting_explore.py [0:0]


    def from_views(views: List[View]) -> Iterator[GrowthAccountingExplore]:
        """
        If possible, generate a Growth Accounting explore for this namespace.

        Growth accounting explores are only created for growth_accounting views.
        """
        for view in views:
            if view.name == "growth_accounting":
                yield GrowthAccountingExplore(
                    view.name,
                    {"base_view": "growth_accounting"},
                )