(update)
return min(
        const.CASE_ACTIONS.index(action.action_type_slug)
        for action in update.actions
    )
Consistent order index based on the types of actions in the update.
Consistent order index based on the types of actions in the update.
Consistent order index based on the types of actions in the update .
def _update_order_index(update):
    """
    Consistent order index based on the types of actions in the update.
    """
    return min(
        const.CASE_ACTIONS.index(action.action_type_slug)
        for action in update.actions
    )
def _update_order_index ( update ) : return min ( const . CASE_ACTIONS . index ( action . action_type_slug ) for action in update . actions )