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
blueprint= response.parse() # get the object that `blueprints.create()` would have returned
203
-
print(blueprint.id)
202
+
devbox= response.parse() # get the object that `devboxes.create()` would have returned
203
+
print(devbox.id)
204
204
```
205
205
206
206
These methods return an [`APIResponse`](https://github.com/runloopai/api-client-python/tree/main/src/runloop_api_client/_response.py) object.
@@ -214,7 +214,7 @@ The above interface eagerly reads the full response body when you make the reque
214
214
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.
215
215
216
216
```python
217
-
with client.blueprints.with_streaming_response.create() as response:
217
+
with client.devboxes.with_streaming_response.create() as response:
0 commit comments