code: def register_request(self, valid_responses):
          
          uuid = str(uuid4())
          self._response[uuid] = []
          for action in valid_responses:
              self._request[action] = uuid
          return uuid
docs: Register a RPC request.
  
          :param list valid_responses: List of possible Responses that
                                       we should be waiting for.
          :return: