(domain, case_changes, device_id, xmlns=None)
return submit_case_blocks(case_blocks, domain, device_id=device_id, xmlns=xmlns)
Updates or closes a list of cases (or both) by submitting a form.
    domain - the cases' domain
    case_changes - a tuple in the form (case_id, case_properties, close)
        case_id - id of the case to update
        case_properties - to update the case, pass in a dictionary of {name1: value1, ...}
                          to ignore case updates, leave this argument out
        close - True to close the case, False otherwise
    device_id - see submit_case_blocks device_id docs
Updates or closes a list of cases (or both) by submitting a form.
    domain - the cases' domain
    case_changes - a tuple in the form (case_id, case_properties, close)
        case_id - id of the case to update
        case_properties - to update the case, pass in a dictionary of {name1: value1, ...}
                          to ignore case updates, leave this argument out
        close - True to close the case, False otherwise
    device_id - see submit_case_blocks device_id docs
Updates or closes a list of cases ( or both ) by submitting a form . domain - the cases domain case_changes - a tuple in the form ( case_id case_properties close ) case_id - id of the case to update case_properties - to update the case pass in a dictionary of { name1 : value1 ... } to ignore case updates leave this argument out close - True to close the case False otherwise device_id - see submit_case_blocks device_id docs
def bulk_update_cases(domain, case_changes, device_id, xmlns=None):
    """
    Updates or closes a list of cases (or both) by submitting a form.
    domain - the cases' domain
    case_changes - a tuple in the form (case_id, case_properties, close)
        case_id - id of the case to update
        case_properties - to update the case, pass in a dictionary of {name1: value1, ...}
                          to ignore case updates, leave this argument out
        close - True to close the case, False otherwise
    device_id - see submit_case_blocks device_id docs
    """
    case_blocks = []
    for case_id, case_properties, close in case_changes:
        case_block = _get_update_or_close_case_block(case_id, case_properties, close)
        case_blocks.append(case_block.as_text())
    return submit_case_blocks(case_blocks, domain, device_id=device_id, xmlns=xmlns)
def bulk_update_cases ( domain , case_changes , device_id , xmlns = None ) : case_blocks = [ ] for case_id , case_properties , close in case_changes : case_block = _get_update_or_close_case_block ( case_id , case_properties , close ) case_blocks . append ( case_block . as_text ( ) ) return submit_case_blocks ( case_blocks , domain , device_id = device_id , xmlns = xmlns )