Skip to content

Commit

Permalink
Oops, remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
aulorbe committed Dec 3, 2024
1 parent b747ca8 commit 0c77843
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions libs/partners/pinecone/langchain_pinecone/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,6 @@ def validate_environment(self) -> Self:
client = PineconeClient(api_key=api_key_str, source_tag="langchain")
self._client = client

# # initialize async client
# if not self._async_client:
# self._async_client = aiohttp.ClientSession(
# headers={
# "Api-Key": api_key_str,
# "Content-Type": "application/json",
# "X-Pinecone-API-Version": "2024-07",
# }
# )
# Ensure async_client is lazily initialized
_ = self.async_client
return self
Expand Down

0 comments on commit 0c77843

Please sign in to comment.