make_grpc_status_request(model_name, model_version=0)Aliases:
make_status_requestingrpcclientnamespace
Description:
Create GrpcModelStatusRequest object.
Args:
-
model_name: Name of the model that will receive the request. -
model_version(optional): Version of the model that will receive the request. Must be type int. By default this value is set to 0, meaning the request will be sent to the default version of the model.
Returns:
GrpcModelStatusRequest object with target model spec.
Raises:
TypeError: if unsupported types are provided.ValueError: if arguments have inappropriate values.
Examples:
Request to the second version of the model called "model":
status_request = make_grpc_status_request(model_name="model", model_version=2)