Skip to content

Commit 972fe25

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.174.2
1 parent d80bddb commit 972fe25

File tree

9 files changed

+26
-19
lines changed

9 files changed

+26
-19
lines changed

Diff for: .speakeasy/gen.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ management:
44
docChecksum: 903444f359d1dfa6342c692ae3e5c7ff
55
docVersion: 0.0.1
66
speakeasyVersion: internal
7-
generationVersion: 2.248.1
8-
releaseVersion: 0.17.0
9-
configChecksum: b943408cdcab76d427c2cba0f6584bf4
7+
generationVersion: 2.250.19
8+
releaseVersion: 0.18.0
9+
configChecksum: 938a4a39baa5695a3140be3b858483d4
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1313
published: true
1414
features:
1515
python:
16-
core: 4.4.4
16+
core: 4.4.5
1717
examples: 2.81.3
1818
globalSecurity: 2.83.2
1919
globalServerURLs: 2.82.1

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -414,4 +414,14 @@ Based on:
414414
### Generated
415415
- [python v0.17.0] .
416416
### Releases
417-
- [PyPI v0.17.0] https://pypi.org/project/unstructured-client/0.17.0 - .
417+
- [PyPI v0.17.0] https://pypi.org/project/unstructured-client/0.17.0 - .
418+
419+
## 2024-02-08 16:10:16
420+
### Changes
421+
Based on:
422+
- OpenAPI Doc 0.0.1
423+
- Speakeasy CLI 1.174.2 (2.250.19) https://github.com/speakeasy-api/speakeasy
424+
### Generated
425+
- [python v0.18.0] .
426+
### Releases
427+
- [PyPI v0.18.0] https://pypi.org/project/unstructured-client/0.18.0 - .

Diff for: docs/models/operations/partitionresponse.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
88
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
9-
| `elements` | List[*Any*] | :heavy_minus_sign: | Successful Response |
109
| `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_check_mark: | Raw HTTP response; suitable for custom response parsing |
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+
| `elements` | List[*Any*] | :heavy_minus_sign: | Successful Response |

Diff for: gen.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ generation:
66
fixes:
77
nameResolutionDec2023: false
88
parameterOrderingFeb2024: false
9+
requestResponseComponentNamesFeb2024: false
910
python:
10-
version: 0.17.0
11+
version: 0.18.0
1112
author: Unstructured
1213
clientServerStatusCodesAsErrors: true
1314
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.17.0",
13+
version="0.18.0",
1414
author="Unstructured",
1515
description="Python Client SDK for Unstructured API",
1616
license = "MIT",

Diff for: src/unstructured_client/general.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
from typing import Any, List, Optional
55
from unstructured_client import utils
66
from unstructured_client.models import errors, operations, shared
7-
from unstructured_client.utils._decorators import suggest_defining_url_if_401 # human code
8-
97

108
class General:
119
sdk_configuration: SDKConfiguration
@@ -14,7 +12,7 @@ def __init__(self, sdk_config: SDKConfiguration) -> None:
1412
self.sdk_configuration = sdk_config
1513

1614

17-
@suggest_defining_url_if_401 # human code
15+
1816
def partition(self, request: Optional[shared.PartitionParameters], retries: Optional[utils.RetryConfig] = None) -> operations.PartitionResponse:
1917
r"""Pipeline 1"""
2018
base_url = utils.template_url(*self.sdk_configuration.get_server_details())

Diff for: src/unstructured_client/models/operations/partition.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
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"""
1513
status_code: int = dataclasses.field()
1614
r"""HTTP response status code for this operation"""
15+
raw_response: requests_http.Response = dataclasses.field()
16+
r"""Raw HTTP response; suitable for custom response parsing"""
1717
elements: Optional[List[Any]] = dataclasses.field(default=None)
1818
r"""Successful Response"""
1919

Diff for: src/unstructured_client/sdk.py

-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@
66
from typing import Callable, Dict, Union
77
from unstructured_client import utils
88
from unstructured_client.models import shared
9-
from unstructured_client.utils._decorators import clean_server_url # human code
109

1110
class UnstructuredClient:
1211
r"""Unstructured Pipeline API: Partition documents with the Unstructured library"""
1312
general: General
1413

1514
sdk_configuration: SDKConfiguration
1615

17-
@clean_server_url # human code
1816
def __init__(self,
1917
api_key_auth: Union[str, Callable[[], str]],
2018
server: str = None,

Diff for: src/unstructured_client/sdkconfiguration.py

+3-3
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.17.0'
31-
gen_version: str = '2.248.1'
32-
user_agent: str = 'speakeasy-sdk/python 0.17.0 2.248.1 0.0.1 unstructured-client'
30+
sdk_version: str = '0.18.0'
31+
gen_version: str = '2.250.19'
32+
user_agent: str = 'speakeasy-sdk/python 0.18.0 2.250.19 0.0.1 unstructured-client'
3333
retry_config: RetryConfig = None
3434

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

0 commit comments

Comments
 (0)