mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-19 00:03:21 +00:00
remove unused
This commit is contained in:
parent
9192da00a4
commit
df11a386b0
1 changed files with 1 additions and 2 deletions
|
|
@ -109,9 +109,8 @@ class AsyncVectorDBClient:
|
|||
collection_name: str,
|
||||
filter: Dict,
|
||||
limit: Optional[int] = None,
|
||||
query: Optional[str] = None,
|
||||
) -> Optional[GetResult]:
|
||||
return await asyncio.to_thread(self._sync.query, collection_name, filter, limit, query)
|
||||
return await asyncio.to_thread(self._sync.query, collection_name, filter, limit)
|
||||
|
||||
async def get(self, collection_name: str) -> Optional[GetResult]:
|
||||
return await asyncio.to_thread(self._sync.get, collection_name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue