Skip to content

Commit 2a76046

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.161.0
1 parent 0d30872 commit 2a76046

File tree

7 files changed

+26
-14
lines changed

7 files changed

+26
-14
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.239.4
8-
releaseVersion: 0.16.0
9-
configChecksum: df4b507bbf203791c07f410b82b53f44
7+
generationVersion: 2.245.1
8+
releaseVersion: 0.16.1
9+
configChecksum: dc6701b5b977dc4d73e21db3ea4791cb
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.2
16+
core: 4.4.3
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
@@ -394,4 +394,14 @@ Based on:
394394
### Generated
395395
- [python v0.16.0] .
396396
### Releases
397-
- [PyPI v0.16.0] https://pypi.org/project/unstructured-client/0.16.0 - .
397+
- [PyPI v0.16.0] https://pypi.org/project/unstructured-client/0.16.0 - .
398+
399+
## 2024-02-01 00:19:33
400+
### Changes
401+
Based on:
402+
- OpenAPI Doc 0.0.1
403+
- Speakeasy CLI 1.161.0 (2.245.1) https://github.com/speakeasy-api/speakeasy
404+
### Generated
405+
- [python v0.16.1] .
406+
### Releases
407+
- [PyPI v0.16.1] https://pypi.org/project/unstructured-client/0.16.1 - .

Diff for: gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ generation:
66
fixes:
77
nameResolutionDec2023: false
88
python:
9-
version: 0.16.0
9+
version: 0.16.1
1010
author: Unstructured
1111
clientServerStatusCodesAsErrors: true
1212
description: Python Client SDK for Unstructured API

Diff for: pylintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ disable=raw-checker-failed,
439439
cyclic-import,
440440
too-many-nested-blocks,
441441
too-many-boolean-expressions,
442-
no-else-raise
442+
no-else-raise,
443+
bare-except
443444

444445
# Enable the message, report, category or checker with the given id(s). You can
445446
# either give multiple identifier separated by comma (,) or put this option

Diff for: setup.py

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

1111
setuptools.setup(
1212
name="unstructured-client",
13-
version="0.16.0",
13+
version="0.16.1",
1414
author="Unstructured",
1515
description="Python Client SDK for Unstructured API",
1616
license = "MIT",
@@ -20,7 +20,7 @@
2020
install_requires=[
2121
"certifi>=2023.7.22",
2222
"charset-normalizer>=3.2.0",
23-
"dataclasses-json>=0.6.1",
23+
"dataclasses-json @ git+https://github.com/speakeasy-api/dataclasses-json@fix-union-deserialization",
2424
"idna>=3.4",
2525
"jsonpath-python>=1.0.6 ",
2626
"marshmallow>=3.19.0",
@@ -37,5 +37,6 @@
3737
"dev":["pylint==2.16.2"]
3838
},
3939
package_dir={'': 'src'},
40-
python_requires='>=3.8'
40+
python_requires='>=3.8',
41+
package_data={"unstructured-client": ["py.typed"]},
4142
)

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.16.0'
31-
gen_version: str = '2.239.4'
32-
user_agent: str = 'speakeasy-sdk/python 0.16.0 2.239.4 0.0.1 unstructured-client'
30+
sdk_version: str = '0.16.1'
31+
gen_version: str = '2.245.1'
32+
user_agent: str = 'speakeasy-sdk/python 0.16.1 2.245.1 0.0.1 unstructured-client'
3333
retry_config: RetryConfig = None
3434

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

Diff for: src/unstructured_client/utils/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def unmarshal_json(data, typ, decoder=None):
695695
out = unmarshal.from_dict({"res": json_dict})
696696
except AttributeError as attr_err:
697697
raise AttributeError(
698-
f'unable to unmarshal {data} as {typ}') from attr_err
698+
f'unable to unmarshal {data} as {typ} - {attr_err}') from attr_err
699699

700700
return out.res if decoder is None else decoder(out.res)
701701

0 commit comments

Comments
 (0)