ray.serve.grpc_util.RayServegRPCContext.code#

RayServegRPCContext.code() grpc.StatusCode[source]#

Accesses the value to be used as status code upon RPC completion.

Returns:

The StatusCode value for the RPC.