fix(core): preserve adapter command contracts

This commit is contained in:
2026-07-11 21:00:50 +02:00
parent dbbab6d005
commit a35efa16de
20 changed files with 163 additions and 143 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ def build_dwh(cfg: Config) -> DwhAdapter:
resource = cfg.dwh
match resource.type:
case "postgres_direct":
return PostgresDwhAdapter(resource.connection)
return PostgresDwhAdapter(
resource.connection,
statement_timeout_ms=cfg.execution.statement_timeout_ms,
)
case "thoth_rest":
return ThothRestDwhAdapter(resource.database, resource.endpoint)
case other: # pragma: no cover - Pydantic's discriminator rejects this first.