Skip to content

Commit 09026b5

Browse files
committed
docs(authentication): fix error message text in missing key example
The comment on the print(e) line said "env var." but the actual ValidationError raised by _client.py says "environment variable."
1 parent 8537453 commit 09026b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/getting-started/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ from pinecone import Pinecone, PineconeConfigurationError
4242
try:
4343
pc = Pinecone()
4444
except PineconeConfigurationError as e:
45-
print(e) # "No API key provided. Pass api_key='...' or set the PINECONE_API_KEY env var."
45+
print(e) # "No API key provided. Pass api_key='...' or set the PINECONE_API_KEY environment variable."
4646
```
4747

4848
## Security best practices

0 commit comments

Comments
 (0)