Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ management:
docChecksum: 903444f359d1dfa6342c692ae3e5c7ff
docVersion: 0.0.1
speakeasyVersion: internal
generationVersion: 2.239.4
releaseVersion: 0.16.0
configChecksum: df4b507bbf203791c07f410b82b53f44
generationVersion: 2.245.1
releaseVersion: 0.16.1
configChecksum: dc6701b5b977dc4d73e21db3ea4791cb
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
published: true
features:
python:
core: 4.4.2
core: 4.4.3
examples: 2.81.3
globalSecurity: 2.83.2
globalServerURLs: 2.82.1
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,14 @@ Based on:
### Generated
- [python v0.16.0] .
### Releases
- [PyPI v0.16.0] https://pypi.org/project/unstructured-client/0.16.0 - .
- [PyPI v0.16.0] https://pypi.org/project/unstructured-client/0.16.0 - .

## 2024-02-01 00:19:33
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.161.0 (2.245.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.16.1] .
### Releases
- [PyPI v0.16.1] https://pypi.org/project/unstructured-client/0.16.1 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generation:
fixes:
nameResolutionDec2023: false
python:
version: 0.16.0
version: 0.16.1
author: Unstructured
clientServerStatusCodesAsErrors: true
description: Python Client SDK for Unstructured API
Expand Down
3 changes: 2 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ disable=raw-checker-failed,
cyclic-import,
too-many-nested-blocks,
too-many-boolean-expressions,
no-else-raise
no-else-raise,
bare-except

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="unstructured-client",
version="0.16.0",
version="0.16.1",
author="Unstructured",
description="Python Client SDK for Unstructured API",
license = "MIT",
Expand All @@ -20,7 +20,7 @@
install_requires=[
"certifi>=2023.7.22",
"charset-normalizer>=3.2.0",
"dataclasses-json>=0.6.1",
"dataclasses-json @ git+https://github.com/speakeasy-api/dataclasses-json@fix-union-deserialization",
"idna>=3.4",
"jsonpath-python>=1.0.6 ",
"marshmallow>=3.19.0",
Expand All @@ -37,5 +37,6 @@
"dev":["pylint==2.16.2"]
},
package_dir={'': 'src'},
python_requires='>=3.8'
python_requires='>=3.8',
package_data={"unstructured-client": ["py.typed"]},
)
6 changes: 3 additions & 3 deletions src/unstructured_client/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class SDKConfiguration:
server: str = ''
language: str = 'python'
openapi_doc_version: str = '0.0.1'
sdk_version: str = '0.16.0'
gen_version: str = '2.239.4'
user_agent: str = 'speakeasy-sdk/python 0.16.0 2.239.4 0.0.1 unstructured-client'
sdk_version: str = '0.16.1'
gen_version: str = '2.245.1'
user_agent: str = 'speakeasy-sdk/python 0.16.1 2.245.1 0.0.1 unstructured-client'
retry_config: RetryConfig = None

def get_server_details(self) -> Tuple[str, Dict[str, str]]:
Expand Down
2 changes: 1 addition & 1 deletion src/unstructured_client/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ def unmarshal_json(data, typ, decoder=None):
out = unmarshal.from_dict({"res": json_dict})
except AttributeError as attr_err:
raise AttributeError(
f'unable to unmarshal {data} as {typ}') from attr_err
f'unable to unmarshal {data} as {typ} - {attr_err}') from attr_err

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

Expand Down