Skip to content

Commit 40738fd

Browse files
committed
fix linter errors
1 parent 324eb0f commit 40738fd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llama_index/vector_stores/pinecone.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,7 @@ def add(
265265
vectors=batch,
266266
async_req=True,
267267
)
268-
for batch in iter_batch(
269-
entries, self.batch_size
270-
)
268+
for batch in iter_batch(entries, self.batch_size)
271269
]
272270

273271
return ids
@@ -284,7 +282,7 @@ async def async_add(
284282
Returns:
285283
List[str]: List of IDs of the added documents.
286284
"""
287-
return await asyncio.to_thread(self.add, nodes) # type: ignore
285+
return await asyncio.to_thread(self.add, nodes) # type: ignore
288286

289287
def delete(self, ref_doc_id: str, **delete_kwargs: Any) -> None:
290288
"""

0 commit comments

Comments
 (0)