Skip to content

Deployment State#

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

[source] PredictorState #

State of a predictor.

[source] available_predictor_instances property #

available_predictor_instances

Available predicotr instances.

[source] available_transformer_instances property #

available_transformer_instances

Available transformer instances.

[source] condition property #

condition

Condition of the current state of predictor.

[source] deployed property #

deployed

Whether the predictor is deployed or not.

[source] hopsworks_inference_path property #

hopsworks_inference_path

Inference path in the Hopsworks REST API.

[source] internal_port property #

internal_port

Internal port for the predictor.

[source] model_server_inference_path property #

model_server_inference_path

Inference path in the model server.

[source] revision property #

revision

Last revision of the predictor.

[source] status property #

status

Status of the predictor.

[source] describe #

describe()

Print a JSON description of the deployment state.