UpdateGridConnectionRequest

class baseten.client.managementapi.UpdateGridConnectionRequest(*, config)

Bases: BaseModel

Parameters:

config (Annotated[Annotated[UpsertGridConnectionConfigAnthropic | UpsertGridConnectionConfigOpenAI | UpsertGridConnectionConfigXAI | UpsertGridConnectionConfigVertex | UpsertGridConnectionConfigBedrock, FieldInfo(annotation=NoneType, required=True, title='Config', description='Complete new connection configuration, replacing the current one. The provider must match the connection and is immutable.', examples=[{'provider': 'ANTHROPIC', 'secret_name': 'anthropic-key'}], discriminator='provider')] | dict[str, Any], _PydanticGeneralMetadata(union_mode='left_to_right')])

model_config = {'extra': 'forbid'}

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