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, source: APIType, deployments: Dict[str, DeploymentDetails])[source]#
Bases:
BaseModel
Detailed info about a Serve application.
Methods
Create a new model by parsing and validating input data from keyword arguments.
The route_prefix 1.
Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.
Duplicate a model, optionally choose which fields to include, exclude and change.
Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Generate a JSON representation of the model,
include
andexclude
arguments as perdict()
.Try to update ForwardRefs on fields based on this Model, globalns and localns.
Attributes