PromoteToEnvironmentRequest

class baseten.client.managementapi.PromoteToEnvironmentRequest(*, scale_down_previous_deployment=True, deployment_id, preserve_env_instance_type=True)

Bases: BaseModel

Parameters:
  • scale_down_previous_deployment (bool | None)

  • deployment_id (str)

  • preserve_env_instance_type (bool | None)

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].