Skip to content

Commit 9460918

Browse files
authored
fix(dlt): compare dlt version semantically for destination client (#5890)
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
1 parent 8d8794a commit 9460918

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

sqlmesh/integrations/dlt.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ def generate_dlt_models_and_settings(
6363
if db_type == "filesystem":
6464
connection_config = None
6565
else:
66-
if dlt.__version__ >= "1.10.0":
67-
client = pipeline.destination_client()
68-
else:
69-
client = pipeline._sql_job_client(schema) # type: ignore
66+
client = pipeline.destination_client()
7067
config = client.config
7168
credentials = config.credentials
7269
configs = {

0 commit comments

Comments
 (0)