feat: Vector retrieval matches tables

This commit is contained in:
junjun
2025-10-10 17:04:14 +08:00
parent 2ebac00f87
commit 5b97cf35e2
+2 -2
View File
@@ -99,7 +99,7 @@ async def get_tables_by_conf(session: SessionDep, trans: Trans, ds: CoreDatasour
def inner():
return getTablesByDs(session, ds)
await asyncio.to_thread(inner)
return await asyncio.to_thread(inner)
except Exception as e:
# check ds status
def inner():
@@ -117,7 +117,7 @@ async def get_schema_by_conf(session: SessionDep, trans: Trans, ds: CoreDatasour
def inner():
return get_schema(ds)
await asyncio.to_thread(inner)
return await asyncio.to_thread(inner)
except Exception as e:
# check ds status
def inner():