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
cams_kfintech= response.parse() # get the object that `cams_kfintech.parse()` would have returned
249
-
print(cams_kfintech.demat_accounts)
248
+
credit= response.parse() # get the object that `credits.check()` would have returned
249
+
print(credit.enabled_features)
250
250
```
251
251
252
252
These methods return an [`APIResponse`](https://github.com/CASParser/cas-parser-python/tree/main/src/cas_parser/_response.py) object.
@@ -260,7 +260,7 @@ The above interface eagerly reads the full response body when you make the reque
260
260
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.
261
261
262
262
```python
263
-
with client.cams_kfintech.with_streaming_response.parse() as response:
263
+
with client.credits.with_streaming_response.check() as response:
0 commit comments