ray.serve.schema.DeploymentDetails#
- class ray.serve.schema.DeploymentDetails(*, name: str, status: DeploymentStatus, status_trigger: DeploymentStatusTrigger, message: str, deployment_config: DeploymentSchema, target_num_replicas: NonNegativeInt, required_resources: Dict, replicas: List[ReplicaDetails], autoscaling_detail: DeploymentAutoscalingDetail | None = None)[source]#
- Bases: - BaseModel- Detailed info about a deployment within a Serve application. - Methods - Create a new model by parsing and validating input data from keyword arguments. - 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, - includeand- excludearguments as per- dict().- Try to update ForwardRefs on fields based on this Model, globalns and localns. - Attributes