Skip to content

Commit 5d3f88e

Browse files
committed
fix(docs): correct NotFoundError cross-reference in assistant.md
Replaced broken `pinecone.exceptions.NotFoundError` Sphinx cross-references with the correct `pinecone.errors.exceptions.NotFoundError` path. `pinecone/exceptions.py` is a backcompat shim that does not export `NotFoundError`; the canonical location is `pinecone/errors/exceptions.py`.
1 parent b52f1ab commit 5d3f88e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/how-to/assistant.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ pc.assistant.delete_file(
9797
)
9898
```
9999

100-
Raises {exc}`~pinecone.exceptions.NotFoundError` if the file does not exist.
100+
Raises {exc}`~pinecone.errors.exceptions.NotFoundError` if the file does not exist.
101101

102102
## Delete an assistant
103103

104104
```python
105105
pc.assistant.delete(name="my-assistant")
106106
```
107107

108-
Raises {exc}`~pinecone.exceptions.NotFoundError` if the assistant does not exist.
108+
Raises {exc}`~pinecone.errors.exceptions.NotFoundError` if the assistant does not exist.

0 commit comments

Comments
 (0)