code: def encode_request(name, entry_processor, keys):
      
      client_message = ClientMessage(payload_size=calculate_size(name, entry_processor, keys))
      client_message.set_message_type(REQUEST_TYPE)
      client_message.set_retryable(RETRYABLE)
      client_message.append_str(name)
      client_message.append_data(entry_processor)
      client_message.append_int(len(keys))
      for keys_item in keys:
          client_message.append_data(keys_item)
      client_message.update_frame_length()
      return client_message
docs: Encode request into client_message