airflow/www/views.py
def get_count_query(self):
        """
        Default filters for model
        """
        return (
            super().get_count_query()
            .filter(models.DagModel.is_active)
            .filter(~models.DagModel.is_subdag)
        )
def get_count_query(self):
        """
        Default filters for model
        """
        return (
            super().get_count_query()
            .filter(models.DagModel.is_active)
            .filter(~models.DagModel.is_subdag)
        )
Default filters for model