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:
parent
8f3a342108
commit
2b7348a773
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue