Skip to content

Commit 0f9a017

Browse files
authored
Merge pull request #7 from Unstructured-IO/speakeasy-sdk-regen-1698452244
chore: speakeasy sdk regeneration - Generate
2 parents 0c63972 + f069aa1 commit 0f9a017

File tree

5 files changed

+45
-9
lines changed

5 files changed

+45
-9
lines changed

Diff for: README.md

+26
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,32 @@ s = unstructured_client.UnstructuredClient(
9595
<!-- No SDK Available Operations -->
9696

9797
<!-- No Pagination -->
98+
<!-- No Error Handling -->
99+
100+
101+
102+
103+
<!-- No Server Selection -->
104+
105+
<!-- Start Custom HTTP Client -->
106+
# Custom HTTP Client
107+
108+
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.
109+
110+
111+
For example, you could specify a header for every request that your sdk makes as follows:
112+
113+
```python
114+
import unstructured_client
115+
import requests
116+
117+
http_client = requests.Session()
118+
http_client.headers.update({'x-custom-header': 'someValue'})
119+
s = unstructured_client.UnstructuredClient(client: http_client)
120+
```
121+
122+
123+
<!-- End Custom HTTP Client -->
98124

99125
<!-- Placeholder for Future Speakeasy SDK Sections -->
100126

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,14 @@ Based on:
214214
### Generated
215215
- [python v0.12.0] .
216216
### Releases
217-
- [PyPI v0.12.0] https://pypi.org/project/unstructured-client/0.12.0 - .
217+
- [PyPI v0.12.0] https://pypi.org/project/unstructured-client/0.12.0 - .
218+
219+
## 2023-10-28 00:17:22
220+
### Changes
221+
Based on:
222+
- OpenAPI Doc 0.0.1
223+
- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy
224+
### Generated
225+
- [python v0.12.1] .
226+
### Releases
227+
- [PyPI v0.12.1] https://pypi.org/project/unstructured-client/0.12.1 - .

Diff for: gen.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 25324f1821b1070aa4a416ec8ddca590
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.104.0
6-
generationVersion: 2.169.0
5+
speakeasyVersion: 1.109.0
6+
generationVersion: 2.173.0
77
generation:
88
comments:
99
disableComments: false
@@ -15,15 +15,15 @@ generation:
1515
tagNamespacingDisabled: false
1616
features:
1717
python:
18-
core: 3.3.0
18+
core: 3.3.1
1919
examples: 2.81.3
2020
globalSecurity: 2.82.0
2121
globalServerURLs: 2.82.0
2222
nameOverrides: 2.81.1
2323
retries: 2.82.0
2424
serverIDs: 2.81.1
2525
python:
26-
version: 0.12.0
26+
version: 0.12.1
2727
author: Unstructured
2828
clientServerStatusCodesAsErrors: true
2929
description: Python Client SDK for Unstructured API

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="unstructured-client",
13-
version="0.12.0",
13+
version="0.12.1",
1414
author="Unstructured",
1515
description="Python Client SDK for Unstructured API",
1616
long_description=long_description,

Diff for: src/unstructured_client/sdkconfiguration.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class SDKConfiguration:
2626
server: str = ''
2727
language: str = 'python'
2828
openapi_doc_version: str = '0.0.1'
29-
sdk_version: str = '0.12.0'
30-
gen_version: str = '2.169.0'
31-
user_agent: str = 'speakeasy-sdk/python 0.12.0 2.169.0 0.0.1 unstructured-client'
29+
sdk_version: str = '0.12.1'
30+
gen_version: str = '2.173.0'
31+
user_agent: str = 'speakeasy-sdk/python 0.12.1 2.173.0 0.0.1 unstructured-client'
3232
retry_config: RetryConfig = None
3333

3434
def get_server_details(self) -> Tuple[str, Dict[str, str]]:

0 commit comments

Comments
 (0)