Skip to content

chore: 🐝 Update SDK - Generate 0.35.0 #268

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 7 commits into from
May 14, 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
10 changes: 10 additions & 0 deletions .genignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ _test_unstructured_client
# ignore Makefile
Makefile

# Ignore the base resource classes while we're patching in our own server url logic
# If we add a new endpoint, we need to:
# - Comment out the ignore for the right file
# - Generate locally, watch the new endpoint appear
# - Bring back the ignore line and commit
src/unstructured_client/destinations.py
src/unstructured_client/general.py
src/unstructured_client/jobs.py
src/unstructured_client/sources.py
src/unstructured_client/workflows.py
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
**/__pycache__/
**/.speakeasy/temp/
**/.speakeasy/logs/
.speakeasy/temp/
.speakeasy/reports
.venv/
Expand Down
27 changes: 14 additions & 13 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: 6433f28e5b70c3c0d7754fc7a88db327
docVersion: 1.1.7
speakeasyVersion: 1.537.0
generationVersion: 2.588.0
releaseVersion: 0.34.0
configChecksum: 0ba814fcbe0d0489903de407d36313af
docChecksum: f525a810cf1c08e0a1f75d631b085137
docVersion: 1.1.13
speakeasyVersion: 1.544.0
generationVersion: 2.599.0
releaseVersion: 0.35.0
configChecksum: 4a04b453af70e9dafd8f5541d24840b5
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand All @@ -16,15 +16,15 @@ features:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.15.0
core: 5.18.0
defaultEnabledRetries: 0.2.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.2
examples: 3.0.1
globalSecurity: 3.0.3
globalSecurityCallbacks: 1.0.0
globalSecurityFlattening: 1.0.0
globalServerURLs: 3.1.0
globalServerURLs: 3.1.1
methodServerURLs: 3.1.1
multipartFileContentType: 1.0.0
nameOverrides: 3.0.1
Expand Down Expand Up @@ -137,6 +137,8 @@ generatedFiles:
- docs/models/shared/gcssourceconnectorconfiginput.md
- docs/models/shared/googledrivesourceconnectorconfig.md
- docs/models/shared/googledrivesourceconnectorconfiginput.md
- docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md
- docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md
- docs/models/shared/inputfiles.md
- docs/models/shared/jirasourceconnectorconfig.md
- docs/models/shared/jirasourceconnectorconfiginput.md
Expand Down Expand Up @@ -202,6 +204,7 @@ generatedFiles:
- docs/models/shared/weaviatedestinationconnectorconfig.md
- docs/models/shared/weaviatedestinationconnectorconfiginput.md
- docs/models/shared/workflowinformation.md
- docs/models/shared/workflowjobtype.md
- docs/models/shared/workflownode.md
- docs/models/shared/workflowschedule.md
- docs/models/shared/workflowstate.md
Expand All @@ -227,10 +230,7 @@ generatedFiles:
- src/unstructured_client/_hooks/types.py
- src/unstructured_client/_version.py
- src/unstructured_client/basesdk.py
- src/unstructured_client/destinations.py
- src/unstructured_client/general.py
- src/unstructured_client/httpclient.py
- src/unstructured_client/jobs.py
- src/unstructured_client/models/__init__.py
- src/unstructured_client/models/errors/__init__.py
- src/unstructured_client/models/errors/httpvalidationerror.py
Expand Down Expand Up @@ -302,6 +302,8 @@ generatedFiles:
- src/unstructured_client/models/shared/gcssourceconnectorconfiginput.py
- src/unstructured_client/models/shared/googledrivesourceconnectorconfig.py
- src/unstructured_client/models/shared/googledrivesourceconnectorconfiginput.py
- src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfig.py
- src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py
- src/unstructured_client/models/shared/jirasourceconnectorconfig.py
- src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py
- src/unstructured_client/models/shared/jobinformation.py
Expand Down Expand Up @@ -356,6 +358,7 @@ generatedFiles:
- src/unstructured_client/models/shared/weaviatedestinationconnectorconfig.py
- src/unstructured_client/models/shared/weaviatedestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/workflowinformation.py
- src/unstructured_client/models/shared/workflowjobtype.py
- src/unstructured_client/models/shared/workflownode.py
- src/unstructured_client/models/shared/workflowschedule.py
- src/unstructured_client/models/shared/workflowstate.py
Expand All @@ -365,7 +368,6 @@ generatedFiles:
- src/unstructured_client/py.typed
- src/unstructured_client/sdk.py
- src/unstructured_client/sdkconfiguration.py
- src/unstructured_client/sources.py
- src/unstructured_client/types/__init__.py
- src/unstructured_client/types/basemodel.py
- src/unstructured_client/utils/__init__.py
Expand All @@ -384,7 +386,6 @@ generatedFiles:
- src/unstructured_client/utils/serializers.py
- src/unstructured_client/utils/url.py
- src/unstructured_client/utils/values.py
- src/unstructured_client/workflows.py
examples:
create_destination:
speakeasy-default-create-destination:
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.537.0
speakeasyVersion: 1.544.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:f5fa536ffbf6240b18b267193074d11564a899dd6fdee36261205b93c8f84880
sourceBlobDigest: sha256:521a1c7be485e2be9f33ff7b82566823e96827cb69f7ca7775e0dd3dcc52d825
sourceRevisionDigest: sha256:53a93cf17b0c135a55b556659f10f1e179ede13959d432e91ab06847d008a70b
sourceBlobDigest: sha256:1ee9e979a771f2c36ad99bf61e63e8eea64b33b47b78ffe12d529627205c8b3d
tags:
- latest
- speakeasy-sdk-regen-1745334275
- 1.1.7
- speakeasy-sdk-regen-1746058311
- 1.1.13
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:f5fa536ffbf6240b18b267193074d11564a899dd6fdee36261205b93c8f84880
sourceBlobDigest: sha256:521a1c7be485e2be9f33ff7b82566823e96827cb69f7ca7775e0dd3dcc52d825
sourceRevisionDigest: sha256:53a93cf17b0c135a55b556659f10f1e179ede13959d432e91ab06847d008a70b
sourceBlobDigest: sha256:1ee9e979a771f2c36ad99bf61e63e8eea64b33b47b78ffe12d529627205c8b3d
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:5940dadc286e702b4e23f58d1b7b536ffea4648a9f4f4a7ab650c6c107730a28
codeSamplesRevisionDigest: sha256:e89aa66814dff7a62cf894bee505e9c1996c0ba1641816b5262edf315ef35e08
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -987,4 +987,14 @@ Based on:
### Generated
- [python v0.34.0] .
### Releases
- [PyPI v0.34.0] https://pypi.org/project/unstructured-client/0.34.0 - .
- [PyPI v0.34.0] https://pypi.org/project/unstructured-client/0.34.0 - .

## 2025-05-14 11:39:54
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.544.0 (2.599.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.35.0] .
### Releases
- [PyPI v0.35.0] https://pypi.org/project/unstructured-client/0.35.0 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "update_destination"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.update_destination(request={\n \"destination_id\": \"9ea9d27c-4e2e-4cb5-9a69-71bd7ec9d226\",\n \"update_destination_connector\": {\n \"config\": {\n \"host\": \"acidic-patroller.com\",\n \"database\": \"<value>\",\n \"port\": 832931,\n \"username\": \"Salvador.Walsh-Thiel\",\n \"password\": \"vIMqbllzrdJBExE\",\n \"table_name\": \"<value>\",\n \"batch_size\": 977983,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.update_destination(request={\n \"destination_id\": \"ddfee087-e67d-4bcc-afdb-6451a6e6f9ea\",\n \"update_destination_connector\": {\n \"config\": {\n \"host\": \"acidic-patroller.com\",\n \"port\": 6379,\n \"database\": 0,\n \"ssl\": True,\n \"batch_size\": 100,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
- target: $["paths"]["/api/v1/destinations/{destination_id}/connection-check"]["get"]
update:
"x-codeSamples":
Expand Down
6 changes: 6 additions & 0 deletions docs/models/shared/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,9 @@ value: shared.SnowflakeDestinationConnectorConfigInput = /* values here */
value: shared.WeaviateDestinationConnectorConfigInput = /* values here */
```

### `shared.IBMWatsonxS3DestinationConnectorConfigInput`

```python
value: shared.IBMWatsonxS3DestinationConnectorConfigInput = /* values here */
```

6 changes: 6 additions & 0 deletions docs/models/shared/destinationconnectorinformationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,9 @@ value: shared.SnowflakeDestinationConnectorConfig = /* values here */
value: shared.WeaviateDestinationConnectorConfig = /* values here */
```

### `shared.IBMWatsonxS3DestinationConnectorConfig`

```python
value: shared.IBMWatsonxS3DestinationConnectorConfig = /* values here */
```

3 changes: 2 additions & 1 deletion docs/models/shared/destinationconnectortype.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
| `QDRANT_CLOUD` | qdrant-cloud |
| `S3` | s3 |
| `SNOWFLAKE` | snowflake |
| `WEAVIATE_CLOUD` | weaviate-cloud |
| `WEAVIATE_CLOUD` | weaviate-cloud |
| `IBM_WATSONX_S3` | ibm_watsonx_s3 |
19 changes: 19 additions & 0 deletions docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# IBMWatsonxS3DestinationConnectorConfig


## Fields

| Field | Type | Required | Description |
| ------------------------- | ------------------------- | ------------------------- | ------------------------- |
| `access_key_id` | *str* | :heavy_check_mark: | N/A |
| `catalog` | *str* | :heavy_check_mark: | N/A |
| `iam_api_key` | *str* | :heavy_check_mark: | N/A |
| `iceberg_endpoint` | *str* | :heavy_check_mark: | N/A |
| `max_retries` | *int* | :heavy_check_mark: | N/A |
| `max_retries_connection` | *int* | :heavy_check_mark: | N/A |
| `namespace` | *str* | :heavy_check_mark: | N/A |
| `object_storage_endpoint` | *str* | :heavy_check_mark: | N/A |
| `object_storage_region` | *str* | :heavy_check_mark: | N/A |
| `record_id_key` | *str* | :heavy_check_mark: | N/A |
| `secret_access_key` | *str* | :heavy_check_mark: | N/A |
| `table` | *str* | :heavy_check_mark: | N/A |
19 changes: 19 additions & 0 deletions docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# IBMWatsonxS3DestinationConnectorConfigInput


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `access_key_id` | *str* | :heavy_check_mark: | N/A |
| `catalog` | *str* | :heavy_check_mark: | N/A |
| `iam_api_key` | *str* | :heavy_check_mark: | N/A |
| `iceberg_endpoint` | *str* | :heavy_check_mark: | N/A |
| `max_retries` | *Optional[int]* | :heavy_minus_sign: | Maximum number of retries to upload data |
| `max_retries_connection` | *Optional[int]* | :heavy_minus_sign: | Maximum number of retries in case of a connection error |
| `namespace` | *str* | :heavy_check_mark: | N/A |
| `object_storage_endpoint` | *str* | :heavy_check_mark: | N/A |
| `object_storage_region` | *str* | :heavy_check_mark: | N/A |
| `record_id_key` | *Optional[str]* | :heavy_minus_sign: | Searchable key to find entries for the same record on previous runs |
| `secret_access_key` | *str* | :heavy_check_mark: | N/A |
| `table` | *str* | :heavy_check_mark: | N/A |
2 changes: 2 additions & 0 deletions docs/models/shared/jirasourceconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `boards` | List[*str*] | :heavy_minus_sign: | N/A |
| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `download_attachments` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `issues` | List[*str*] | :heavy_minus_sign: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `projects` | List[*str*] | :heavy_minus_sign: | N/A |
| `status_filters` | List[*str*] | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
2 changes: 2 additions & 0 deletions docs/models/shared/jirasourceconnectorconfiginput.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `boards` | List[*str*] | :heavy_minus_sign: | N/A |
| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `download_attachments` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `issues` | List[*str*] | :heavy_minus_sign: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `projects` | List[*str*] | :heavy_minus_sign: | N/A |
| `status_filters` | List[*str*] | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
Loading