You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 63d9bdf
Browse filesBrowse the repository at this point in the historyBrowse files
brand= response.parse() # get the object that `brand.retrieve()` would have returned
281
-
print(brand.brand)
322
+
web= response.parse() # get the object that `web.extract()` would have returned
323
+
print(web.data)
282
324
```
283
325
284
326
These methods return an [`APIResponse`](https://github.com/context-dot-dev/context-python-sdk/tree/main/src/context/dev/_response.py) object.
@@ -292,8 +334,14 @@ The above interface eagerly reads the full response body when you make the reque
292
334
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
293
335
294
336
```python
295
-
with client.brand.with_streaming_response.retrieve(
0 commit comments