ray.serve.grpc_util.RayServegRPCContext.set_details#

RayServegRPCContext.set_details(details: str)[source]#

Sets the value to be used as detail string upon RPC completion.

This method need not be called by method implementations if they have no details to transmit.

Parameters:
  • details – A UTF-8-encodable string to be sent to the client upon

  • RPC. (termination of the) –