CreateGridConnectionRequest¶
- class baseten.client.managementapi.CreateGridConnectionRequest(*, team_id=None, config)¶
Bases:
BaseModel- Parameters:
team_id (TeamId6 | None)
config (Annotated[Annotated[UpsertGridConnectionConfigAnthropic | UpsertGridConnectionConfigOpenAI | UpsertGridConnectionConfigXAI | UpsertGridConnectionConfigVertex | UpsertGridConnectionConfigBedrock, FieldInfo(annotation=NoneType, required=True, title='Config', description='Provider the connection authenticates with, and the team secret holding its API key.', 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].