Skip to content

Commit 534ce2d

Browse files
committed
fix linter issues
1 parent dd82541 commit 534ce2d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llama_index/vector_stores/pinecone.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
55
"""
66

7+
import asyncio
78
import logging
89
from collections import Counter
910
from functools import partial
1011
from typing import Any, Callable, Dict, List, Optional, cast
11-
import asyncio
12-
from llama_index.utils import iter_batch
12+
1313
from llama_index.bridge.pydantic import PrivateAttr
1414
from llama_index.schema import BaseNode, MetadataMode, TextNode
15+
from llama_index.utils import iter_batch
1516
from llama_index.vector_stores.types import (
1617
BasePydanticVectorStore,
1718
MetadataFilters,
@@ -272,7 +273,6 @@ def add(
272273
nodes: List[BaseNode]: list of nodes with embeddings
273274
274275
"""
275-
276276
entries = self._prepare_entries_for_upsert(nodes)
277277

278278
[
@@ -297,7 +297,6 @@ async def async_add(
297297
Returns:
298298
List[str]: List of IDs of the added documents.
299299
"""
300-
301300
entries = self._prepare_entries_for_upsert(nodes)
302301

303302
semaphore = asyncio.Semaphore(SEM_MAX_CONCURRENT)

0 commit comments

Comments
 (0)