Skip to content

Latest commit

 

History

History
51 lines (24 loc) · 1.19 KB

File metadata and controls

51 lines (24 loc) · 1.19 KB

function make_grpc_status_request

make_grpc_status_request(model_name, model_version=0)

Aliases:

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)

Return to the main page