CreateModelDeploymentRequest

class baseten.client.managementapi.CreateModelDeploymentRequest(*, source)

Bases: BaseModel

Parameters:

source (Annotated[Annotated[DeploymentArchiveSource, FieldInfo(annotation=NoneType, required=True, title='Source', description='Where the new deployment is created from.', discriminator='kind')] | dict[str, Any], _PydanticGeneralMetadata(union_mode='left_to_right')])

model_config = {}

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