Skip to content
Snippets Groups Projects
Commit 1810b24d authored by Ismail Ashraq's avatar Ismail Ashraq
Browse files

linting

parent 261e68a3
Branches
Tags
No related merge requests found
......@@ -71,7 +71,7 @@ class PineconeIndex(BaseIndex):
self.namespace = namespace
self.type = "pinecone"
self.api_key = api_key or os.getenv("PINECONE_API_KEY")
if self.api_key is None:
raise ValueError("Pinecone API key is required.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment