ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.136.1

This commit is contained in:
speakeasybot
2024-01-11 22:04:07 +00:00
parent 5121a0365c
commit a72d859944
419 changed files with 5569 additions and 957 deletions

View File

@@ -1,13 +1,13 @@
{/* Start Python Custom HTTP Client */}
The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.
The Python SDK makes API calls using the [requests](https://pypi.org/project/requests/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.
For example, you could specify a header for every request that this sdk makes as follows:
```python
import sdk
import plex_api
import requests
http_client = requests.Session()
http_client.headers.update({'x-custom-header': 'someValue'})
s = sdk.SDK(client: http_client)
s = plex_api.PlexAPI(client: http_client)
```
{/* End Python Custom HTTP Client */}