Skip to content

Deployment State#

You can get the current state of a deployment via Deployment.get_state.

PredictorState #

State of a predictor.

available_predictor_instances property #

available_predictor_instances

Available predicotr instances.

available_transformer_instances property #

available_transformer_instances

Available transformer instances.

condition property #

condition

Condition of the current state of predictor.

deployed property #

deployed

Whether the predictor is deployed or not.

hopsworks_inference_path property #

hopsworks_inference_path

Inference path in the Hopsworks REST API.

internal_port property #

internal_port

Internal port for the predictor.

model_server_inference_path property #

model_server_inference_path

Inference path in the model server.

revision property #

revision

Last revision of the predictor.

status property #

status

Status of the predictor.

describe #

describe()

Print a JSON description of the deployment state.