

def _selected_groups_query(self, mobile_user_and_group_slugs):
    group_ids = self.selected_group_ids(mobile_user_and_group_slugs)
    if (not group_ids):
        return []
    return get_group_stubs(group_ids)

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/filters/users.py ExpandedMobileWorkerFilter._selected_groups_query/original