def _case_query_active(self, values, filters, lower, upper):
        return CaseActionData.objects \
            .extra(select={'type': 'case_type'}) \
            .values(*values) \
            .filter(filters) \
            .filter(
                domain=self.domain,
                case_owner__in=self.owners_needing_data,
                date__gte=lower,
                date__lt=upper
            ).annotate(count=Count('case', distinct=True))
Recursively destroys the contents of this tree.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/callcenter/indicator_sets.py/CallCenterIndicators._case_query_active--crossover with--dataset/ETHPy150Open mtlevolio/pylinkchecker/pylinkchecker/bs4/element.py/Tag.decompose