(esxform)
return CaseAccessors(esxform.domain).get_cases(list(case_ids))
Get a list of cases referenced by ESXFormInstance

    Note: this does not load cases referenced in stock transactions
    because ESXFormInstance does not have access to form XML, which
    is needed to find stock transactions.
Get a list of cases referenced by ESXFormInstance
Get a list of cases referenced by ESXFormInstance
def _cases_referenced_by_xform(esxform):
    """Get a list of cases referenced by ESXFormInstance

    Note: this does not load cases referenced in stock transactions
    because ESXFormInstance does not have access to form XML, which
    is needed to find stock transactions.
    """
    assert esxform.domain, esxform.form_id
    case_ids = set(cu.id for cu in get_case_updates(esxform))
    return CaseAccessors(esxform.domain).get_cases(list(case_ids))
def _cases_referenced_by_xform ( esxform ) : assert esxform . domain , esxform . form_id case_ids = set ( cu . id for cu in get_case_updates ( esxform ) ) return CaseAccessors ( esxform . domain ) . get_cases ( list ( case_ids ) )