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
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b5fa338-9106-4734-abf0-e30d67044a90
management:
docChecksum: 559aacf6828c62bd379326645382b3ba
docChecksum: 903444f359d1dfa6342c692ae3e5c7ff
docVersion: 0.0.1
speakeasyVersion: internal
generationVersion: 2.237.2
releaseVersion: 0.15.5
configChecksum: 5138d0e0d09d018eeec74356c4b3fef5
generationVersion: 2.239.4
releaseVersion: 0.16.0
configChecksum: df4b507bbf203791c07f410b82b53f44
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,4 +384,14 @@ Based on:
### Generated
- [python v0.15.5] .
### Releases
- [PyPI v0.15.5] https://pypi.org/project/unstructured-client/0.15.5 - .
- [PyPI v0.15.5] https://pypi.org/project/unstructured-client/0.15.5 - .

## 2024-01-25 16:02:08
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.152.1 (2.239.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.16.0] .
### Releases
- [PyPI v0.16.0] https://pypi.org/project/unstructured-client/0.16.0 - .
4 changes: 2 additions & 2 deletions 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.15.5
version: 0.16.0
author: Unstructured
clientServerStatusCodesAsErrors: true
description: Python Client SDK for Unstructured API
Expand All @@ -20,7 +20,7 @@ python:
shared: models/shared
webhooks: models/webhooks
inputModelSuffix: input
license: MIT
maxMethodParams: 0
outputModelSuffix: output
packageName: unstructured-client
license: MIT
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@

setuptools.setup(
name="unstructured-client",
version="0.15.5",
version="0.16.0",
author="Unstructured",
description="Python Client SDK for Unstructured API",
license = "MIT",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(where="src"),
Expand All @@ -36,6 +37,5 @@
"dev":["pylint==2.16.2"]
},
package_dir={'': 'src'},
license="MIT License",
python_requires='>=3.8'
)
2 changes: 1 addition & 1 deletion src/unstructured_client/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def partition(self, request: Optional[shared.PartitionParameters], retries: Opti
if global_retry_config:
retry_config = global_retry_config
else:
retry_config = utils.RetryConfig('backoff', utils.BackoffStrategy(500, 60000, 1.5, 3600000), True)
retry_config = utils.RetryConfig('backoff', utils.BackoffStrategy(500, 60000, 1.5, 900000), True)

def do_request():
return client.request('POST', url, data=data, files=form, headers=headers)
Expand Down
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.15.5'
gen_version: str = '2.237.2'
user_agent: str = 'speakeasy-sdk/python 0.15.5 2.237.2 0.0.1 unstructured-client'
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'
retry_config: RetryConfig = None

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