ray.serve.schema.ReplicaDetails#

class ray.serve.schema.ReplicaDetails(*, node_id: str | None = None, node_ip: str | None = None, actor_id: str | None = None, actor_name: str | None = None, worker_id: str | None = None, log_file_path: str | None = None, replica_id: str, state: ReplicaState, pid: int | None = None, start_time_s: float)[source]#

Bases: ServeActorDetails

Detailed info about a single deployment replica.

Methods

__init__

Create a new model by parsing and validating input data from keyword arguments.

construct

Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.

copy

Duplicate a model, optionally choose which fields to include, exclude and change.

dict

Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

json

Generate a JSON representation of the model, include and exclude arguments as per dict().

update_forward_refs

Try to update ForwardRefs on fields based on this Model, globalns and localns.

Attributes

replica_id

state

pid

start_time_s

node_id

node_ip

actor_id

actor_name

worker_id

log_file_path