def get_request_state(request_id):
 with _request_states_lock:
  return _request_states[request_id]

def get_request_state ( request_id ) : with _request_states_lock : return _request_states [ request_id ]
returns the requeststate for the provided request id .