CreateDeploymentPatchRequest¶
- class baseten.client.managementapi.CreateDeploymentPatchRequest(*, prev_patch_hash, next_patch_point, patch_ops)¶
Bases:
BaseModel- Parameters:
prev_patch_hash (str)
next_patch_point (DeploymentPatchPoint)
patch_ops (Annotated[list[Annotated[Annotated[DeploymentPatchOpModelCode | DeploymentPatchOpPackage | DeploymentPatchOpConfig | DeploymentPatchOpPythonRequirement | DeploymentPatchOpEnvVar | DeploymentPatchOpExternalData, FieldInfo(annotation=NoneType, required=True, discriminator='type')] | dict[str, Any], FieldInfo(annotation=NoneType, required=True, metadata=[_PydanticGeneralMetadata(union_mode='left_to_right')])]], MinLen(min_length=1)])
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].