Skip to content

ConnectionConfig

relationalai.config.connections
ConnectionConfig = Annotated[Union[SnowflakeAuthenticator, DuckDBConnection, LocalConnection], Field(discriminator='type')]

Top-level connection configuration type.

ConnectionConfig is a discriminated union used when parsing a config file. The concrete model is selected from the type field (for example, a Snowflake authenticator, a DuckDB connection, or a local RAI server).