Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.441.1 (#210)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vangheem and speakeasybot authored Nov 21, 2024
1 parent b3ab9b9 commit a9b7b0b
Show file tree
Hide file tree
Showing 17 changed files with 120 additions and 121 deletions.
23 changes: 12 additions & 11 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
lockVersion: 2.0.0
id: 8b5fa338-9106-4734-abf0-e30d67044a90
management:
docChecksum: 21f469b38bb72725739ee9d9d0fc8780
docVersion: 1.0.51
speakeasyVersion: 1.424.0
generationVersion: 2.445.1
releaseVersion: 0.27.0
configChecksum: 6ece96f34cb076ad455a9c66b68c30b0
docChecksum: 98911c628e565edfa455e36caff7f1c6
docVersion: 1.0.53
speakeasyVersion: 1.441.1
generationVersion: 2.461.2
releaseVersion: 0.28.0
configChecksum: 664b8dd37fcde24058d9dd3153443a91
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:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.4
core: 5.6.1
constsAndDefaults: 1.0.5
core: 5.6.5
defaultEnabledRetries: 0.2.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.1
envVarSecurityUsage: 0.3.2
examples: 3.0.0
globalSecurity: 3.0.2
globalSecurityCallbacks: 1.0.0
Expand All @@ -33,7 +34,7 @@ features:
sdkHooks: 1.0.0
serverIDs: 3.0.0
tests: 1.6.0
unions: 3.0.2
unions: 3.0.3
uploadStreams: 1.0.0
generatedFiles:
- .gitattributes
Expand All @@ -58,7 +59,6 @@ generatedFiles:
- py.typed
- pylintrc
- pyproject.toml
- scripts/compile.sh
- scripts/prepare-readme.py
- scripts/publish.sh
- src/unstructured_client/__init__.py
Expand Down Expand Up @@ -107,6 +107,7 @@ examples:
responses:
"200":
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"}}]
text/csv: "<value>"
"422":
application/json: {"detail": []}
5XX:
Expand Down
16 changes: 10 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
speakeasyVersion: 1.424.0
speakeasyVersion: 1.441.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:a021df00d899b4a9c10656edde506318d3824d78b51e0f15f5af3f4b4e2633a3
sourceBlobDigest: sha256:27e4879df402e924f9f65d336ea6d2fc8b16a00b87b4a802866238f7e9f639d3
sourceRevisionDigest: sha256:038b0ca7f385b85ad48ed90e401baf382a23098ae9b31f4f38556eea1236a228
sourceBlobDigest: sha256:58ed8248232b8a0505cc6ca21a37347df8b85011736c5c20728265de9e841a7e
tags:
- latest
- main
- speakeasy-sdk-regen-1731423394
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:a021df00d899b4a9c10656edde506318d3824d78b51e0f15f5af3f4b4e2633a3
sourceBlobDigest: sha256:27e4879df402e924f9f65d336ea6d2fc8b16a00b87b4a802866238f7e9f639d3
sourceRevisionDigest: sha256:038b0ca7f385b85ad48ed90e401baf382a23098ae9b31f4f38556eea1236a228
sourceBlobDigest: sha256:58ed8248232b8a0505cc6ca21a37347df8b85011736c5c20728265de9e841a7e
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:7bd56d7d28128fd2bdb364cbd5f0b77af7512dbe80181a5a8844e3f24bc1b313
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -33,3 +35,5 @@ workflow:
token: $PYPI_TOKEN
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/unstructured/unstructured5xr/my-source-code-samples
2 changes: 2 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ targets:
token: $PYPI_TOKEN
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/unstructured/unstructured5xr/my-source-code-samples
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ By default, an API error will raise a errors.SDKError exception, which has the f

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:

| Error Type | Status Code | Content Type |
| -------------------------- | -------------------------- | -------------------------- |
| errors.HTTPValidationError | 422 | application/json |
| errors.ServerError | 5XX | application/json |
| errors.SDKError | 4XX | \*/\* |
| Error Type | Status Code | Content Type |
| -------------------------- | ----------- | ---------------- |
| errors.HTTPValidationError | 422 | application/json |
| errors.ServerError | 5XX | application/json |
| errors.SDKError | 4XX | \*/\* |

### Example

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -724,4 +724,14 @@ Based on:
### Generated
- [python v0.27.0] .
### Releases
- [PyPI v0.27.0] https://pypi.org/project/unstructured-client/0.27.0 - .
- [PyPI v0.27.0] https://pypi.org/project/unstructured-client/0.27.0 - .

## 2024-11-21 00:09:58
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.28.0] .
### Releases
- [PyPI v0.28.0] https://pypi.org/project/unstructured-client/0.28.0 - .
1 change: 1 addition & 0 deletions docs/models/operations/partitionresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [httpx.Response](https://www.python-httpx.org/api/#response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `csv_elements` | *Optional[str]* | :heavy_minus_sign: | Successful Response |
| `elements` | List[Dict[str, *Any*]] | :heavy_minus_sign: | Successful Response |
Loading

0 comments on commit a9b7b0b

Please sign in to comment.