ruff check fix
This commit is contained in:
parent
c7b0da7aa6
commit
69acac42e2
1 changed files with 0 additions and 3 deletions
|
|
@ -316,9 +316,6 @@ class PGVectorAdapter(SQLAlchemyAdapter, VectorDBInterface):
|
||||||
# Get PGVectorDataPoint Table from database
|
# Get PGVectorDataPoint Table from database
|
||||||
PGVectorDataPoint = await self.get_table(collection_name)
|
PGVectorDataPoint = await self.get_table(collection_name)
|
||||||
|
|
||||||
# NOTE: This needs to be initialized in case search doesn't return a value
|
|
||||||
closest_items: List[ScoredResult] = []
|
|
||||||
|
|
||||||
# Use async session to connect to the database
|
# Use async session to connect to the database
|
||||||
async with self.get_async_session() as session:
|
async with self.get_async_session() as session:
|
||||||
query = select(
|
query = select(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue