Skip to content

chore: 🐝 Update SDK - Generate 0.31.0 #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2025
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
26 changes: 14 additions & 12 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: de9f013dc09f5ad50eaa7dd5716106ca
docChecksum: 8befe9665bd102e8cc2241c80080859a
docVersion: 1.0.78
speakeasyVersion: 1.490.0
generationVersion: 2.512.0
releaseVersion: 0.30.6
configChecksum: c946e26d3a3b2fe2756ff169416b448c
speakeasyVersion: 1.509.0
generationVersion: 2.539.0
releaseVersion: 0.31.0
configChecksum: faf5191e78f1597b78cd7600af4f1d96
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand All @@ -16,7 +16,7 @@ features:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.11.0
core: 5.12.2
defaultEnabledRetries: 0.2.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.2
Expand All @@ -28,11 +28,11 @@ features:
methodServerURLs: 3.1.1
multipartFileContentType: 1.0.0
nameOverrides: 3.0.1
nullables: 1.0.0
nullables: 1.0.1
openEnums: 1.0.0
responseFormat: 1.0.1
retries: 3.0.2
sdkHooks: 1.0.0
sdkHooks: 1.0.1
serverIDs: 3.0.0
unions: 3.0.4
uploadStreams: 1.0.0
Expand Down Expand Up @@ -125,6 +125,7 @@ generatedFiles:
- docs/models/shared/googledrivesourceconnectorconfig.md
- docs/models/shared/googledrivesourceconnectorconfiginput.md
- docs/models/shared/jobinformation.md
- docs/models/shared/jobstatus.md
- docs/models/shared/kafkaclouddestinationconnectorconfig.md
- docs/models/shared/kafkaclouddestinationconnectorconfiginput.md
- docs/models/shared/kafkacloudsourceconnectorconfig.md
Expand Down Expand Up @@ -270,6 +271,7 @@ generatedFiles:
- src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py
- src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py
- src/unstructured_client/models/shared/jobinformation.py
- src/unstructured_client/models/shared/jobstatus.py
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/kafkacloudsourceconnectorconfig.py
Expand Down Expand Up @@ -413,16 +415,16 @@ examples:
header: {}
responses:
"200":
application/json: {"created_at": "2025-01-14T00:09:32.358Z", "id": "d18f330b-506f-455c-9cb8-0cee2386ac29", "runtime": "<value>", "status": "<value>", "workflow_id": "136fd799-4c45-4417-a632-f460d8ebb2a2", "workflow_name": "<value>"}
application/json: {"created_at": "2025-01-14T00:09:32.358Z", "id": "d18f330b-506f-455c-9cb8-0cee2386ac29", "runtime": "<value>", "status": "IN_PROGRESS", "workflow_id": "136fd799-4c45-4417-a632-f460d8ebb2a2", "workflow_name": "<value>"}
"422":
application/json: {"detail": [{"loc": ["<value>", 701982], "msg": "<value>", "type": "<value>"}, {"loc": ["<value>"], "msg": "<value>", "type": "<value>"}]}
application/json: {"detail": "<value>"}
list_jobs:
speakeasy-default-list-jobs:
responses:
"200":
application/json: [{"created_at": "2023-09-01T17:59:19.211Z", "id": "7098ff76-419f-4a5a-a313-d159507b629d", "runtime": "<value>", "status": "<value>", "workflow_id": "75cf761e-8c10-48e4-b3d7-6ae90ad4fd3e", "workflow_name": "<value>"}]
application/json: [{"created_at": "2023-09-01T17:59:19.211Z", "id": "7098ff76-419f-4a5a-a313-d159507b629d", "runtime": "<value>", "status": "SCHEDULED", "workflow_id": "75cf761e-8c10-48e4-b3d7-6ae90ad4fd3e", "workflow_name": "<value>"}]
"422":
application/json: {"detail": []}
application/json: {"detail": [{"loc": [], "msg": "<value>", "type": "<value>"}]}
create_source:
speakeasy-default-create-source:
requestBody:
Expand Down
13 changes: 7 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
speakeasyVersion: 1.508.1
speakeasyVersion: 1.509.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:7c3885b2b10e35c3ce714ade8cf040b7af2d30c631aa9469af14c647e4eebd4c
sourceBlobDigest: sha256:49a96e011be598dc1667da0d814c547d9544305f503cb992018176bcf78f3817
sourceRevisionDigest: sha256:b62d80c1b902f285b4eaeaf67a4b1d2edb21053eded12c247daecbfeea1d8a30
sourceBlobDigest: sha256:8d5c6a31539e2e1047e529fb6561fd4172fa80506241bc25dcf51d7c76f8b6e6
tags:
- latest
- speakeasy-sdk-regen-1741046993
- 1.0.78
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:7c3885b2b10e35c3ce714ade8cf040b7af2d30c631aa9469af14c647e4eebd4c
sourceBlobDigest: sha256:49a96e011be598dc1667da0d814c547d9544305f503cb992018176bcf78f3817
sourceRevisionDigest: sha256:b62d80c1b902f285b4eaeaf67a4b1d2edb21053eded12c247daecbfeea1d8a30
sourceBlobDigest: sha256:8d5c6a31539e2e1047e529fb6561fd4172fa80506241bc25dcf51d7c76f8b6e6
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:5f12b0195d8ed16e87269dc286ef0b48ba59a6c95b2ad935f85ec95e417394ae
codeSamplesRevisionDigest: sha256:77255b7d9241b11e147927beb6e60a27654bd6089e121356a3d5ca06e5f0f2f1
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ from unstructured_client import UnstructuredClient
from unstructured_client.models import shared
from unstructured_client.utils import BackoffStrategy, RetryConfig


with UnstructuredClient() as uc_client:

res = uc_client.destinations.create_destination(request={
Expand Down Expand Up @@ -141,6 +142,7 @@ from unstructured_client import UnstructuredClient
from unstructured_client.models import shared
from unstructured_client.utils import BackoffStrategy, RetryConfig


with UnstructuredClient(
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
) as uc_client:
Expand Down Expand Up @@ -193,6 +195,7 @@ When custom error responses are specified for an operation, the SDK may also rai
from unstructured_client import UnstructuredClient
from unstructured_client.models import errors, shared


with UnstructuredClient() as uc_client:
res = None
try:
Expand Down Expand Up @@ -325,6 +328,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
from unstructured_client import UnstructuredClient
from unstructured_client.models import shared


with UnstructuredClient() as uc_client:

res = uc_client.destinations.create_destination(request={
Expand Down Expand Up @@ -355,6 +359,7 @@ from unstructured_client import UnstructuredClient
from unstructured_client.models import shared

async def main():

async with UnstructuredClient() as uc_client:

res = await uc_client.destinations.create_destination_async(request={
Expand Down Expand Up @@ -451,6 +456,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
from unstructured_client import UnstructuredClient
from unstructured_client.models import shared


with UnstructuredClient() as uc_client:

res = uc_client.general.partition(request={
Expand Down Expand Up @@ -486,12 +492,14 @@ The `UnstructuredClient` class implements the context manager protocol and regis
```python
from unstructured_client import UnstructuredClient
def main():

with UnstructuredClient() as uc_client:
# Rest of application here...


# Or when using async:
async def amain():

async with UnstructuredClient() as uc_client:
# Rest of application here...
```
Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,3 +835,14 @@ Based on:
- [python v0.30.6] .
### Releases
- [PyPI v0.30.6] https://pypi.org/project/unstructured-client/0.30.6 - .


## 2025-03-04 00:09:38
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.509.0 (2.539.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.31.0] .
### Releases
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
2 changes: 2 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from unstructured_client import UnstructuredClient
from unstructured_client.models import shared


with UnstructuredClient() as uc_client:

res = uc_client.destinations.create_destination(request={
Expand Down Expand Up @@ -34,6 +35,7 @@ from unstructured_client import UnstructuredClient
from unstructured_client.models import shared

async def main():

async with UnstructuredClient() as uc_client:

res = await uc_client.destinations.create_destination_async(request={
Expand Down
Loading
Loading