Skip to content

Commit 1c5a032

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.318.0
1 parent 854dfdf commit 1c5a032

File tree

9 files changed

+50
-27
lines changed

9 files changed

+50
-27
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: c7e23b3b8242eb21eccb2091bcc57c72
5-
docVersion: 1.0.35
6-
speakeasyVersion: 1.308.1
7-
generationVersion: 2.342.6
8-
releaseVersion: 0.23.7
9-
configChecksum: ace5c1ec7268837cec676d31f07d8337
4+
docChecksum: 7f66a0b37f7c9410adfa767ab853be37
5+
docVersion: 1.0.39
6+
speakeasyVersion: 1.318.0
7+
generationVersion: 2.352.0
8+
releaseVersion: 0.23.8
9+
configChecksum: f3dd7a4511cf2bc22ddb479fa03effba
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -15,7 +15,7 @@ features:
1515
python:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.3
18-
core: 4.6.11
18+
core: 4.6.13
1919
examples: 2.81.3
2020
globalSecurity: 2.83.5
2121
globalSecurityCallbacks: 0.1.0

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.308.1
1+
speakeasyVersion: 1.318.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:5491f0ed917385a6505e2da173e898a2039fb131bf9cf5209426106b1efd09d5
6-
sourceBlobDigest: sha256:6f719e554e4b4829020cad9fe3db0747f49029d4961ea73b48ed0b94a9e9368e
5+
sourceRevisionDigest: sha256:b803d2b3e66a7d99b77e5a26bc8e9d3bd6342c323c8bd8fc4ac7002768cb21d2
6+
sourceBlobDigest: sha256:825c8a1ec6f108fce9202f6f819aa0522c4ef2a4d906ead633ad8ca02e23ce4e
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructured-python:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:5491f0ed917385a6505e2da173e898a2039fb131bf9cf5209426106b1efd09d5
15-
sourceBlobDigest: sha256:6f719e554e4b4829020cad9fe3db0747f49029d4961ea73b48ed0b94a9e9368e
14+
sourceRevisionDigest: sha256:b803d2b3e66a7d99b77e5a26bc8e9d3bd6342c323c8bd8fc4ac7002768cb21d2
15+
sourceBlobDigest: sha256:825c8a1ec6f108fce9202f6f819aa0522c4ef2a4d906ead633ad8ca02e23ce4e
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,4 +544,14 @@ Based on:
544544
### Generated
545545
- [python v0.23.7] .
546546
### Releases
547-
- [PyPI v0.23.7] https://pypi.org/project/unstructured-client/0.23.7 - .
547+
- [PyPI v0.23.7] https://pypi.org/project/unstructured-client/0.23.7 - .
548+
549+
## 2024-06-26 00:20:26
550+
### Changes
551+
Based on:
552+
- OpenAPI Doc
553+
- Speakeasy CLI 1.318.0 (2.352.0) https://github.com/speakeasy-api/speakeasy
554+
### Generated
555+
- [python v0.23.8] .
556+
### Releases
557+
- [PyPI v0.23.8] https://pypi.org/project/unstructured-client/0.23.8 - .

docs/models/errors/detail.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
## Supported Types
55

6-
###
6+
### `List[shared.ValidationError]`
77

88
```python
9-
detail: List[shared.ValidationError] = /* values here */
9+
value: List[shared.ValidationError] = /* values here */
1010
```
1111

12-
###
12+
### `str`
1313

1414
```python
15-
detail: str = /* values here */
15+
value: str = /* values here */
1616
```
1717

docs/models/shared/loc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
## Supported Types
55

6-
###
6+
### `str`
77

88
```python
9-
loc: str = /* values here */
9+
value: str = /* values here */
1010
```
1111

12-
###
12+
### `int`
1313

1414
```python
15-
loc: int = /* values here */
15+
value: int = /* values here */
1616
```
1717

gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
python:
13-
version: 0.23.7
13+
version: 0.23.8
1414
additionalDependencies:
1515
dependencies:
1616
deepdiff: '>=6.0'
@@ -40,3 +40,4 @@ python:
4040
packageName: unstructured-client
4141
projectUrls: {}
4242
responseFormat: envelope
43+
templateVersion: v1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setuptools.setup(
2121
name='unstructured-client',
22-
version='0.23.7',
22+
version='0.23.8',
2323
author='Unstructured',
2424
description='Python Client SDK for Unstructured API',
2525
license = 'MIT',

src/unstructured_client/sdkconfiguration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ class SDKConfiguration:
2828
server_url: Optional[str] = ''
2929
server: Optional[str] = ''
3030
language: str = 'python'
31-
openapi_doc_version: str = '1.0.35'
32-
sdk_version: str = '0.23.7'
33-
gen_version: str = '2.342.6'
34-
user_agent: str = 'speakeasy-sdk/python 0.23.7 2.342.6 1.0.35 unstructured-client'
31+
openapi_doc_version: str = '1.0.39'
32+
sdk_version: str = '0.23.8'
33+
gen_version: str = '2.352.0'
34+
user_agent: str = 'speakeasy-sdk/python 0.23.8 2.352.0 1.0.39 unstructured-client'
3535
retry_config: Optional[RetryConfig] = None
3636

3737
def __post_init__(self):

src/unstructured_client/utils/utils.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,9 @@ def bigintencode(val: int):
904904

905905

906906
def bigintdecoder(val):
907+
if val is None:
908+
return None
909+
907910
if isinstance(val, float):
908911
raise ValueError(f"{val} is a float")
909912
return int(val)
@@ -918,6 +921,9 @@ def integerstrencode(val: int):
918921

919922

920923
def integerstrdecoder(val):
924+
if val is None:
925+
return None
926+
921927
if isinstance(val, float):
922928
raise ValueError(f"{val} is a float")
923929
return int(val)
@@ -933,6 +939,9 @@ def numberstrencode(val: float):
933939

934940

935941
def numberstrdecoder(val):
942+
if val is None:
943+
return None
944+
936945
return float(val)
937946

938947

@@ -950,6 +959,9 @@ def decimalencode(val: Decimal):
950959

951960

952961
def decimaldecoder(val):
962+
if val is None:
963+
return None
964+
953965
return Decimal(str(val))
954966

955967

0 commit comments

Comments
 (0)