File tree 7 files changed +54
-18
lines changed
7 files changed +54
-18
lines changed Original file line number Diff line number Diff line change 1
1
lockVersion: 2.0.0
2
2
id: 8b5fa338-9106-4734-abf0-e30d67044a90
3
3
management:
4
- docChecksum: f6998ca683cdb4062d02e5e9308c4c75
5
- docVersion: 1.0.25
6
- speakeasyVersion: 1.277.8
7
- generationVersion: 2.319.10
8
- releaseVersion: 0.24.1
9
- configChecksum: ec00b0343aebdd16e57e67bcbfeacc64
4
+ docChecksum: 8c80286cc06f367a126edd92a615fdf5
5
+ docVersion: 1.0.26
6
+ speakeasyVersion: 1.280.1
7
+ generationVersion: 2.322.5
8
+ releaseVersion: 0.24.2
9
+ configChecksum: 4e49bc747544dac3fae7a44c5c3e16b3
10
10
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
11
11
repoSubDirectory: .
12
12
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Original file line number Diff line number Diff line change 1
- speakeasyVersion: 1.277.8
1
+ speakeasyVersion: 1.280.1
2
2
sources:
3
3
my-source:
4
4
sourceNamespace: my-source
5
- sourceRevisionDigest: sha256:9f7a8e891310d27b223505073edb2f2a9c97274004bc013caa1a38ebce0da615
6
- sourceBlobDigest: sha256:da064894d08172dcf69aa144bbca591e35afbe2b765bd6cf15fbe7ce54d0e389
5
+ sourceRevisionDigest: sha256:b4b040682a829d1b5599c3840b0e576319c743160f04e7ccde6185b723c651e4
6
+ sourceBlobDigest: sha256:7562c49d5efef52b65c748e5d68cf8d21e14c8011b5653c4d48abed47f52e785
7
7
tags:
8
8
- latest
9
+ - main
9
10
targets:
10
11
unstructured-python:
11
12
source: my-source
12
13
sourceNamespace: my-source
13
- sourceRevisionDigest: sha256:9f7a8e891310d27b223505073edb2f2a9c97274004bc013caa1a38ebce0da615
14
- sourceBlobDigest: sha256:da064894d08172dcf69aa144bbca591e35afbe2b765bd6cf15fbe7ce54d0e389
14
+ sourceRevisionDigest: sha256:b4b040682a829d1b5599c3840b0e576319c743160f04e7ccde6185b723c651e4
15
+ sourceBlobDigest: sha256:7562c49d5efef52b65c748e5d68cf8d21e14c8011b5653c4d48abed47f52e785
15
16
outLocation: /github/workspace/repo
16
17
workflow:
17
18
workflowVersion: 1.0.0
Original file line number Diff line number Diff line change @@ -506,4 +506,12 @@ Based on:
506
506
- OpenAPI Doc
507
507
- Speakeasy CLI 1.277.8 (2.319.10) https://github.com/speakeasy-api/speakeasy
508
508
### Generated
509
- - [ python v0.24.1] .
509
+ - [ python v0.24.1] .
510
+
511
+ ## 2024-05-07 00:19:38
512
+ ### Changes
513
+ Based on:
514
+ - OpenAPI Doc
515
+ - Speakeasy CLI 1.280.1 (2.322.5) https://github.com/speakeasy-api/speakeasy
516
+ ### Generated
517
+ - [ python v0.24.2] .
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ generation:
10
10
auth :
11
11
oAuth2ClientCredentialsEnabled : false
12
12
python :
13
- version : 0.24.1
13
+ version : 0.24.2
14
14
additionalDependencies :
15
15
dependencies :
16
16
deepdiff : ' >=6.0'
Original file line number Diff line number Diff line change 19
19
20
20
setuptools .setup (
21
21
name = 'unstructured-client' ,
22
- version = '0.24.1 ' ,
22
+ version = '0.24.2 ' ,
23
23
author = 'Unstructured' ,
24
24
description = 'Python Client SDK for Unstructured API' ,
25
25
license = 'MIT' ,
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ class SDKConfiguration:
28
28
server_url : Optional [str ] = ''
29
29
server : Optional [str ] = ''
30
30
language : str = 'python'
31
- openapi_doc_version : str = '1.0.25 '
32
- sdk_version : str = '0.24.1 '
33
- gen_version : str = '2.319.10 '
34
- user_agent : str = 'speakeasy-sdk/python 0.24.1 2.319.10 1.0.25 unstructured-client'
31
+ openapi_doc_version : str = '1.0.26 '
32
+ sdk_version : str = '0.24.2 '
33
+ gen_version : str = '2.322.5 '
34
+ user_agent : str = 'speakeasy-sdk/python 0.24.2 2.322.5 1.0.26 unstructured-client'
35
35
retry_config : Optional [RetryConfig ] = None
36
36
37
37
def __post_init__ (self ):
Original file line number Diff line number Diff line change @@ -908,6 +908,33 @@ def bigintdecoder(val):
908
908
raise ValueError (f"{ val } is a float" )
909
909
return int (val )
910
910
911
+ def integerstrencoder (optional : bool ):
912
+ def integerstrencode (val : int ):
913
+ if optional and val is None :
914
+ return None
915
+ return str (val )
916
+
917
+ return integerstrencode
918
+
919
+
920
+ def integerstrdecoder (val ):
921
+ if isinstance (val , float ):
922
+ raise ValueError (f"{ val } is a float" )
923
+ return int (val )
924
+
925
+
926
+ def numberstrencoder (optional : bool ):
927
+ def numberstrencode (val : float ):
928
+ if optional and val is None :
929
+ return None
930
+ return str (val )
931
+
932
+ return numberstrencode
933
+
934
+
935
+ def numberstrdecoder (val ):
936
+ return float (val )
937
+
911
938
912
939
def decimalencoder (optional : bool , as_str : bool ):
913
940
def decimalencode (val : Decimal ):
You can’t perform that action at this time.
0 commit comments