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.
This commit is contained in:
ZdenekSrotyr 2026-03-31 15:35:49 +02:00
parent 8f3a342108
commit 2b7348a773

View file

@ -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()