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
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
288
274
289
-
For example, you can set `workspaceID` to `'string'` at SDK initialization and then you do not have to pass the same value on calls to operations like `post_workspace_events`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
275
+
For example, you can set `workspaceID` to `'<value>'` at SDK initialization and then you do not have to pass the same value on calls to operations like `post_workspace_events`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
383
354
```python
384
-
import dateutil.parser
385
355
import speakeasy
386
356
from speakeasy.models import operations, shared
387
357
from speakeasy.utils import BackoffStrategy, RetryConfig
|`content_type`|*str*|:heavy_check_mark:| HTTP response content type for this operation |
9
+
|`status_code`|*int*|:heavy_check_mark:| HTTP response status code for this operation |
10
+
|`raw_response`|[requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response)|:heavy_check_mark:| Raw HTTP response; suitable for custom response parsing |
11
+
|`access_details`|[Optional[shared.AccessDetails]](../../models/shared/accessdetails.md)|:heavy_minus_sign:| OK |
0 commit comments