Skip to content

Commit 49d037d

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.120.3
1 parent fd2a559 commit 49d037d

34 files changed

+26
-18
lines changed

.gitattributes

100755100644
File mode changed.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,11 @@ s = unstructured_client.UnstructuredClient(
9090
<!-- No Server Selection -->
9191

9292
<!-- Start Custom HTTP Client -->
93-
# Custom HTTP Client
93+
## Custom HTTP Client
9494

9595
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.
9696

97-
9897
For example, you could specify a header for every request that this sdk makes as follows:
99-
10098
```python
10199
import unstructured_client
102100
import requests

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,14 @@ Based on:
254254
### Generated
255255
- [python v0.14.0] .
256256
### Releases
257-
- [PyPI v0.14.0] https://pypi.org/project/unstructured-client/0.14.0 - .
257+
- [PyPI v0.14.0] https://pypi.org/project/unstructured-client/0.14.0 - .
258+
259+
## 2023-11-16 00:19:06
260+
### Changes
261+
Based on:
262+
- OpenAPI Doc 0.0.1
263+
- Speakeasy CLI 1.120.3 (2.192.1) https://github.com/speakeasy-api/speakeasy
264+
### Generated
265+
- [python v0.14.1] .
266+
### Releases
267+
- [PyPI v0.14.1] https://pypi.org/project/unstructured-client/0.14.1 - .

USAGE.md

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<!-- Start SDK Example Usage -->
2-
3-
42
```python
53
import unstructured_client
64
from unstructured_client.models import shared

docs/models/errors/httpvalidationerror.md

100755100644
File mode changed.

docs/models/errors/loc.md

100755100644
File mode changed.

docs/models/errors/validationerror.md

100755100644
File mode changed.

docs/models/operations/partitionresponse.md

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
99
| `elements` | List[*Any*] | :heavy_minus_sign: | Successful Response |
1010
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11-
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
11+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

docs/models/shared/files.md

100755100644
File mode changed.

docs/models/shared/partitionparameters.md

100755100644
File mode changed.

docs/models/shared/security.md

100755100644
File mode changed.

docs/models/utils/retryconfig.md

100755100644
File mode changed.

docs/sdks/general/README.md

100755100644
File mode changed.

docs/sdks/unstructuredclient/README.md

100755100644
File mode changed.

gen.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@ configVersion: 1.0.0
22
management:
33
docChecksum: bf57420eebd40f2b1d166092f01e3927
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.116.0
6-
generationVersion: 2.185.0
5+
speakeasyVersion: 1.120.3
6+
generationVersion: 2.192.1
77
generation:
88
comments: {}
99
sdkClassName: unstructured_client
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
11+
usageSnippets:
12+
optionalPropertyRendering: withExample
1113
features:
1214
python:
13-
core: 4.1.2
15+
core: 4.1.4
1416
examples: 2.81.3
1517
globalSecurity: 2.83.0
1618
globalServerURLs: 2.82.0
1719
nameOverrides: 2.81.1
1820
retries: 2.82.0
1921
serverIDs: 2.81.1
2022
python:
21-
version: 0.14.0
23+
version: 0.14.1
2224
author: Unstructured
2325
clientServerStatusCodesAsErrors: true
2426
description: Python Client SDK for Unstructured API

pylintrc

100755100644
File mode changed.

setup.py

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

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

src/unstructured_client/__init__.py

100755100644
File mode changed.

src/unstructured_client/general.py

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def do_request():
4545
'5xx'
4646
]))
4747
content_type = http_res.headers.get('Content-Type')
48-
48+
4949
res = operations.PartitionResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res)
5050

5151
if http_res.status_code == 200:

src/unstructured_client/models/__init__.py

100755100644
File mode changed.

src/unstructured_client/models/errors/__init__.py

100755100644
File mode changed.

src/unstructured_client/models/errors/httpvalidationerror.py

100755100644
File mode changed.

src/unstructured_client/models/errors/sdkerror.py

100755100644
File mode changed.

src/unstructured_client/models/errors/validationerror.py

100755100644
File mode changed.

src/unstructured_client/models/operations/__init__.py

100755100644
File mode changed.

src/unstructured_client/models/operations/partition.py

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
class PartitionResponse:
1111
content_type: str = dataclasses.field()
1212
r"""HTTP response content type for this operation"""
13+
raw_response: requests_http.Response = dataclasses.field()
14+
r"""Raw HTTP response; suitable for custom response parsing"""
1315
status_code: int = dataclasses.field()
1416
r"""HTTP response status code for this operation"""
1517
elements: Optional[List[Any]] = dataclasses.field(default=None)
1618
r"""Successful Response"""
17-
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
18-
r"""Raw HTTP response; suitable for custom response parsing"""
1919

2020

src/unstructured_client/models/shared/__init__.py

100755100644
File mode changed.

src/unstructured_client/models/shared/partition_parameters.py

100755100644
File mode changed.

src/unstructured_client/models/shared/security.py

100755100644
File mode changed.

src/unstructured_client/sdk.py

100755100644
File mode changed.

src/unstructured_client/sdkconfiguration.py

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class SDKConfiguration:
2727
server: str = ''
2828
language: str = 'python'
2929
openapi_doc_version: str = '0.0.1'
30-
sdk_version: str = '0.14.0'
31-
gen_version: str = '2.185.0'
32-
user_agent: str = 'speakeasy-sdk/python 0.14.0 2.185.0 0.0.1 unstructured-client'
30+
sdk_version: str = '0.14.1'
31+
gen_version: str = '2.192.1'
32+
user_agent: str = 'speakeasy-sdk/python 0.14.1 2.192.1 0.0.1 unstructured-client'
3333
retry_config: RetryConfig = None
3434

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

src/unstructured_client/utils/__init__.py

100755100644
File mode changed.

src/unstructured_client/utils/retries.py

100755100644
File mode changed.

src/unstructured_client/utils/utils.py

100755100644
File mode changed.

0 commit comments

Comments
 (0)