We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 443b885 commit 98519c2Copy full SHA for 98519c2
1 file changed
sqlmesh/integrations/dlt.py
@@ -49,7 +49,10 @@ def generate_dlt_models_and_settings(
49
if db_type == "filesystem":
50
connection_config = None
51
else:
52
- client = pipeline._sql_job_client(schema)
+ if dlt.__version__ >= "1.10.0":
53
+ client = pipeline.destination_client()
54
+ else:
55
+ client = pipeline._sql_job_client(schema) # type: ignore
56
config = client.config
57
credentials = config.credentials
58
configs = {
0 commit comments