ray.serve.schema.ApplicationDetails#

class ray.serve.schema.ApplicationDetails(*, name: str, route_prefix: str | None, docs_path: str | None, status: ApplicationStatus, message: str, last_deployed_time_s: float, deployed_app_config: ServeApplicationSchema | None = None, deployments: Dict[str, DeploymentDetails])[source]#

Bases: BaseModel

Detailed info about a Serve application.

Methods

__init__

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

application_details_route_prefix_format

The route_prefix 1.

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

name

route_prefix

docs_path

status

message

last_deployed_time_s

deployed_app_config

deployments