def release_data(key, state, delete=True):
 if (key in state['waiting_data']):
  assert (not state['waiting_data'][key])
  del state['waiting_data'][key]
 state['released'].add(key)
 if delete:
  del state['cache'][key]

def release_data ( key , state , delete = True ) : if ( key in state [ 'waiting_data' ] ) : assert ( not state [ 'waiting_data' ] [ key ] ) del state [ 'waiting_data' ] [ key ] state [ 'released' ] . add ( key ) if delete : del state [ 'cache' ] [ key ]
remove data from temporary storage see also finish_task .