From 2b7348a773a77d2e827d27a874aceaeaf8547847 Mon Sep 17 00:00:00 2001 From: ZdenekSrotyr Date: Tue, 31 Mar 2026 15:35:49 +0200 Subject: [PATCH] fix: sync only extracts local tables, skips remote Was using list_by_source() which returns all tables including remote. Now uses list_local() to skip query_mode='remote' tables. --- app/api/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/sync.py b/app/api/sync.py index 577a926..7c55981 100644 --- a/app/api/sync.py +++ b/app/api/sync.py @@ -62,7 +62,7 @@ def _run_sync(tables: Optional[List[str]] = None): all_configs = [repo.get(t) for t in tables] table_configs = [c for c in all_configs if c is not None] else: - table_configs = repo.list_by_source(source_type) if source_type else repo.list_all() + table_configs = repo.list_local(source_type) if source_type else repo.list_local() finally: sys_conn.close()