Skip to content

Commit a9b7b0b

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.441.1 (#210)
Copy of this to see if CI runs: #209 > [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/a5c25ae9b185230c5180fe29449e1e97> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/da9ff1d610cf151db32ab645e57d46f4> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## OpenAPI Change Summary ``` ├─┬Info │ └──[🔀] version (5:16) ├─┬Paths │ └─┬/general/v0/general │ └─┬POST │ └─┬Responses │ └─┬200 │ ├──[➕] content (76:27) │ └─┬application/json │ └─┬Schema │ └─┬Extensions │ └──[➕] x-speakeasy-name-override (73:48) └─┬Components ├──[➕] schemas (549:22) └─┬partition_parameters ├──[➕] properties (512:11) ├──[➕] properties (518:11) ├──[➕] properties (341:11) ├─┬unique_element_ids │ └──[🔀] title (357:22) └─┬strategy └──[➕] enum (330:15) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 2 | 0 | | components | 6 | 0 | | info | 1 | 0 | ## PYTHON CHANGELOG ## acceptHeaders: 3.0.0 - 2024-07-04 ### 🐝 New Features - upgrade to pythonv2 *(commit by [@ThomasRooney](https://github.com/ThomasRooney))* ## envVarSecurityUsage: 0.3.2 - 2024-11-04 ### 🐛 Bug Fixes - speakeasy examples override default strings *(commit by [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))* ## constsAndDefaults: 1.0.5 - 2024-11-12 ### 🐛 Bug Fixes - import paths for enum defaults for method inputs *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* ## core: 5.6.5 - 2024-11-12 ### 🐛 Bug Fixes - sort media type objects by specificity *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 5.6.4 - 2024-11-05 ### 🐛 Bug Fixes - Prevent compilation errors with missing response schemas *(commit by [@bflad](https://github.com/bflad))* ## core: 5.6.3 - 2024-11-04 ### 🐛 Bug Fixes - Prevent compilation errors on macOS and if the source code directory changes *(commit by [@bflad](https://github.com/bflad))* ## core: 5.6.2 - 2024-10-31 ### 🐛 Bug Fixes - Prevent panic with invalid implicit discriminator mappings with propertyName within allOf object *(commit by [@bflad](https://github.com/bflad))* ## unions: 3.0.3 - 2024-11-05 ### 🐛 Bug Fixes - improved handling of complex allOf schemas that merge multiple types *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* Co-authored-by: speakeasybot <[email protected]>
1 parent b3ab9b9 commit a9b7b0b

17 files changed

+120
-121
lines changed

Diff for: .speakeasy/gen.lock

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: 21f469b38bb72725739ee9d9d0fc8780
5-
docVersion: 1.0.51
6-
speakeasyVersion: 1.424.0
7-
generationVersion: 2.445.1
8-
releaseVersion: 0.27.0
9-
configChecksum: 6ece96f34cb076ad455a9c66b68c30b0
4+
docChecksum: 98911c628e565edfa455e36caff7f1c6
5+
docVersion: 1.0.53
6+
speakeasyVersion: 1.441.1
7+
generationVersion: 2.461.2
8+
releaseVersion: 0.28.0
9+
configChecksum: 664b8dd37fcde24058d9dd3153443a91
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+
acceptHeaders: 3.0.0
1617
additionalDependencies: 1.0.0
17-
constsAndDefaults: 1.0.4
18-
core: 5.6.1
18+
constsAndDefaults: 1.0.5
19+
core: 5.6.5
1920
defaultEnabledRetries: 0.2.0
2021
enumUnions: 0.1.0
21-
envVarSecurityUsage: 0.3.1
22+
envVarSecurityUsage: 0.3.2
2223
examples: 3.0.0
2324
globalSecurity: 3.0.2
2425
globalSecurityCallbacks: 1.0.0
@@ -33,7 +34,7 @@ features:
3334
sdkHooks: 1.0.0
3435
serverIDs: 3.0.0
3536
tests: 1.6.0
36-
unions: 3.0.2
37+
unions: 3.0.3
3738
uploadStreams: 1.0.0
3839
generatedFiles:
3940
- .gitattributes
@@ -58,7 +59,6 @@ generatedFiles:
5859
- py.typed
5960
- pylintrc
6061
- pyproject.toml
61-
- scripts/compile.sh
6262
- scripts/prepare-readme.py
6363
- scripts/publish.sh
6464
- src/unstructured_client/__init__.py
@@ -107,6 +107,7 @@ examples:
107107
responses:
108108
"200":
109109
application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}]
110+
text/csv: "<value>"
110111
"422":
111112
application/json: {"detail": []}
112113
5XX:

Diff for: .speakeasy/workflow.lock

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
speakeasyVersion: 1.424.0
1+
speakeasyVersion: 1.441.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:a021df00d899b4a9c10656edde506318d3824d78b51e0f15f5af3f4b4e2633a3
6-
sourceBlobDigest: sha256:27e4879df402e924f9f65d336ea6d2fc8b16a00b87b4a802866238f7e9f639d3
5+
sourceRevisionDigest: sha256:038b0ca7f385b85ad48ed90e401baf382a23098ae9b31f4f38556eea1236a228
6+
sourceBlobDigest: sha256:58ed8248232b8a0505cc6ca21a37347df8b85011736c5c20728265de9e841a7e
77
tags:
88
- latest
9-
- main
9+
- speakeasy-sdk-regen-1731423394
1010
targets:
1111
unstructured-python:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:a021df00d899b4a9c10656edde506318d3824d78b51e0f15f5af3f4b4e2633a3
15-
sourceBlobDigest: sha256:27e4879df402e924f9f65d336ea6d2fc8b16a00b87b4a802866238f7e9f639d3
14+
sourceRevisionDigest: sha256:038b0ca7f385b85ad48ed90e401baf382a23098ae9b31f4f38556eea1236a228
15+
sourceBlobDigest: sha256:58ed8248232b8a0505cc6ca21a37347df8b85011736c5c20728265de9e841a7e
16+
codeSamplesNamespace: my-source-code-samples
17+
codeSamplesRevisionDigest: sha256:7bd56d7d28128fd2bdb364cbd5f0b77af7512dbe80181a5a8844e3f24bc1b313
1618
workflow:
1719
workflowVersion: 1.0.0
1820
speakeasyVersion: latest
@@ -33,3 +35,5 @@ workflow:
3335
token: $PYPI_TOKEN
3436
codeSamples:
3537
output: codeSamples.yaml
38+
registry:
39+
location: registry.speakeasyapi.dev/unstructured/unstructured5xr/my-source-code-samples

Diff for: .speakeasy/workflow.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ targets:
1717
token: $PYPI_TOKEN
1818
codeSamples:
1919
output: codeSamples.yaml
20+
registry:
21+
location: registry.speakeasyapi.dev/unstructured/unstructured5xr/my-source-code-samples

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ By default, an API error will raise a errors.SDKError exception, which has the f
150150

151151
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `partition_async` method may raise the following exceptions:
152152

153-
| Error Type | Status Code | Content Type |
154-
| -------------------------- | -------------------------- | -------------------------- |
155-
| errors.HTTPValidationError | 422 | application/json |
156-
| errors.ServerError | 5XX | application/json |
157-
| errors.SDKError | 4XX | \*/\* |
153+
| Error Type | Status Code | Content Type |
154+
| -------------------------- | ----------- | ---------------- |
155+
| errors.HTTPValidationError | 422 | application/json |
156+
| errors.ServerError | 5XX | application/json |
157+
| errors.SDKError | 4XX | \*/\* |
158158

159159
### Example
160160

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -724,4 +724,14 @@ Based on:
724724
### Generated
725725
- [python v0.27.0] .
726726
### Releases
727-
- [PyPI v0.27.0] https://pypi.org/project/unstructured-client/0.27.0 - .
727+
- [PyPI v0.27.0] https://pypi.org/project/unstructured-client/0.27.0 - .
728+
729+
## 2024-11-21 00:09:58
730+
### Changes
731+
Based on:
732+
- OpenAPI Doc
733+
- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy
734+
### Generated
735+
- [python v0.28.0] .
736+
### Releases
737+
- [PyPI v0.28.0] https://pypi.org/project/unstructured-client/0.28.0 - .

Diff for: docs/models/operations/partitionresponse.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
99
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
1010
| `raw_response` | [httpx.Response](https://www.python-httpx.org/api/#response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `csv_elements` | *Optional[str]* | :heavy_minus_sign: | Successful Response |
1112
| `elements` | List[Dict[str, *Any*]] | :heavy_minus_sign: | Successful Response |

0 commit comments

Comments
 (0)