ReplicaID#

class ray.serve.request_router.ReplicaID(unique_id: str, deployment_id: DeploymentID)[source]#

Bases: object

A unique identifier for a replica.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.

Methods

from_full_id_str

Parse a full ID string into a replica ID.

is_full_id_str

Check whether a string is a full replica ID string.

to_full_id_str

Format this replica ID as a full ID string.

Attributes

unique_id

A unique identifier for the replica within the deployment.

deployment_id

The deployment this replica belongs to.