def _attempt_id_to_task_id(attempt_id):
 return ('task_' + '_'.join(attempt_id.split('_')[1:5]))

def _attempt_id_to_task_id ( attempt_id ) : return ( 'task_' + '_' . join ( attempt_id . split ( '_' ) [ 1 : 5 ] ) )
convert e .