

@property
def form_ids_response(self):
    from corehq.elastic import es_query
    results = es_query(params={
        'domain.exact': self.domain,
    }, q=self.filters_as_es_query(), es_index='forms', fields=['_id'])
    form_ids = [res['_id'] for res in results.get('hits', {
        
    }).get('hits', [])]
    return form_ids

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/data_interfaces/interfaces.py BulkFormManagementInterface.form_ids_response/original