Skip to content

Commit f5c9be8

Browse files
authored
Fix: Support for custom SQLMesh gateways in the dbt project config (#2859)
1 parent 932a873 commit f5c9be8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sqlmesh/dbt/loader.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ def sqlmesh_config(
5353
loader=DbtLoader,
5454
model_defaults=model_defaults,
5555
variables=variables or {},
56-
**dict(
57-
default_gateway=profile.target_name if "gateways" not in kwargs else "",
58-
gateways={
56+
**{
57+
"default_gateway": profile.target_name if "gateways" not in kwargs else "",
58+
"gateways": {
5959
profile.target_name: GatewayConfig(
6060
connection=profile.target.to_sqlmesh(**target_to_sqlmesh_args),
6161
state_connection=state_connection,
6262
)
6363
}, # type: ignore
6464
**kwargs,
65-
),
65+
},
6666
)
6767

6868

0 commit comments

Comments
 (0)