Skip to content

Commit 76f31f2

Browse files
committed
docs: add documentation reference for APIResponse object
1 parent 5f53bd6 commit 76f31f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,8 @@ print(response.http_response.status_code)
616616
prediction = response.parse()
617617
```
618618

619+
The response object is an [`APIResponse`](https://github.com/replicate/replicate-python-stainless/tree/main/src/replicate/_response.py) instance. See the [README](https://github.com/replicate/replicate-python-stainless#accessing-raw-response-data-eg-headers) for full documentation.
620+
619621
### Streaming response wrapper
620622

621623
```python

0 commit comments

Comments
 (0)