SourceConfig¶
Top-level source configuration model, consumed by Source.
- class scamander.models.source_config.source.SourceConfig(*, type: str, options: CsvSourceOptions | JsonSourceOptions | ExcelSourceOptions | OracleSourceOptions | SqlSourceOptions | PostgresqlSourceOptions | LakeHouseSourceOptions | MicrosoftGraphSourceOptions, table: str = None)¶
Basisklassen:
BaseModelTop-level source configuration model.
- type¶
The source connector type string. Must be one of:
"csv","json","excel","oracle","postgresql","sql","LakeHouse","microsoft_graph".- Type:
str
- options¶
Connector-specific options. The concrete type must match
type: -"csv"→CsvSourceOptions-"json"→JsonSourceOptions-"excel"→ExcelSourceOptions-"oracle"→OracleSourceOptions-"postgresql"→PostgresqlSourceOptions-"sql"→SqlSourceOptions-"LakeHouse"→LakeHouseSourceOptions-"microsoft_graph"→MicrosoftGraphSourceOptions- Type:
scamander.models.source_config.csv.CsvSourceOptions | scamander.models.source_config.json.JsonSourceOptions | scamander.models.source_config.excel.ExcelSourceOptions | scamander.models.source_config.oracle.OracleSourceOptions | scamander.models.source_config.sql.SqlSourceOptions | scamander.models.source_config.postgresql.PostgresqlSourceOptions | scamander.models.source_config.lakehouse.LakeHouseSourceOptions | scamander.models.source_config.microsoft_graph.MicrosoftGraphSourceOptions
- table¶
Source table name. Used by JDBC connectors when not overridden inside their
optionsmodel.- Type:
str | None
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].