Skip to content

chore: 🐝 Update SDK - Generate 0.32.4 #261

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
14 changes: 6 additions & 8 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: 3aa362e60bfd40fded2c230b83285656
docChecksum: 7ea7a406a445d35d4914d9c554fb4703
docVersion: 1.1.7
speakeasyVersion: 1.531.0
generationVersion: 2.568.2
releaseVersion: 0.32.3
configChecksum: af0d8669486cc7faf305ae45ca484a80
speakeasyVersion: 1.531.4
generationVersion: 2.570.4
releaseVersion: 0.32.4
configChecksum: cb28766c7ee08012d26a252eff80b540
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.12.6
core: 5.12.7
defaultEnabledRetries: 0.2.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.3.2
Expand Down Expand Up @@ -195,7 +195,6 @@ generatedFiles:
- docs/models/shared/weaviatedestinationconnectorconfiginput.md
- docs/models/shared/workflowinformation.md
- docs/models/shared/workflownode.md
- docs/models/shared/workflownodetype.md
- docs/models/shared/workflowschedule.md
- docs/models/shared/workflowstate.md
- docs/models/shared/workflowtype.md
Expand Down Expand Up @@ -345,7 +344,6 @@ generatedFiles:
- src/unstructured_client/models/shared/weaviatedestinationconnectorconfiginput.py
- src/unstructured_client/models/shared/workflowinformation.py
- src/unstructured_client/models/shared/workflownode.py
- src/unstructured_client/models/shared/workflownodetype.py
- src/unstructured_client/models/shared/workflowschedule.py
- src/unstructured_client/models/shared/workflowstate.py
- src/unstructured_client/models/shared/workflowtype.py
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.531.0
speakeasyVersion: 1.531.4
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:4103407f55cdd4f14098251bb2a0dd327ad0c64bc84db4f334d9efbe32448a96
sourceBlobDigest: sha256:8fa40f4129f20fa6f9fdb519340a3eb88dbd9c315613d187653ae752c308ebc4
sourceRevisionDigest: sha256:5fcc9b2bf6ee4a6a3f6fedd70704e678be530e287627e3e97903b2c501f97832
sourceBlobDigest: sha256:ac40627168fae24d716594e13ce8f5bfa6a423dd59cf7bc5839e418a53a53883
tags:
- latest
- speakeasy-sdk-regen-1744059303
- speakeasy-sdk-regen-1744330218
- 1.1.7
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:4103407f55cdd4f14098251bb2a0dd327ad0c64bc84db4f334d9efbe32448a96
sourceBlobDigest: sha256:8fa40f4129f20fa6f9fdb519340a3eb88dbd9c315613d187653ae752c308ebc4
sourceRevisionDigest: sha256:5fcc9b2bf6ee4a6a3f6fedd70704e678be530e287627e3e97903b2c501f97832
sourceBlobDigest: sha256:ac40627168fae24d716594e13ce8f5bfa6a423dd59cf7bc5839e418a53a53883
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:a4d79caa739dc0dc37a4a6b1769fb3ab52f4dfd5f5bda7902c777659182be1d7
codeSamplesRevisionDigest: sha256:009ee11c428d11a3df5361bc5eebcc6446885fb5fd91010901b8fcd85945fadb
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 @@ -945,4 +945,14 @@ Based on:
### Generated
- [python v0.32.3] .
### Releases
- [PyPI v0.32.3] https://pypi.org/project/unstructured-client/0.32.3 - .
- [PyPI v0.32.3] https://pypi.org/project/unstructured-client/0.32.3 - .

## 2025-04-15 00:10:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.32.4] .
### Releases
- [PyPI v0.32.4] https://pypi.org/project/unstructured-client/0.32.4 - .
1 change: 1 addition & 0 deletions docs/models/shared/createworkflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `destination_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `reprocess_all` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `schedule` | [OptionalNullable[shared.Schedule]](../../models/shared/schedule.md) | :heavy_minus_sign: | N/A |
| `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `workflow_nodes` | List[[shared.WorkflowNode](../../models/shared/workflownode.md)] | :heavy_minus_sign: | N/A |
Expand Down
1 change: 1 addition & 0 deletions docs/models/shared/updateworkflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| `destination_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `reprocess_all` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `schedule` | [OptionalNullable[shared.UpdateWorkflowSchedule]](../../models/shared/updateworkflowschedule.md) | :heavy_minus_sign: | N/A |
| `source_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `workflow_nodes` | List[[shared.WorkflowNode](../../models/shared/workflownode.md)] | :heavy_minus_sign: | N/A |
Expand Down
1 change: 1 addition & 0 deletions docs/models/shared/workflowinformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
| `destinations` | List[*str*] | :heavy_check_mark: | N/A | |
| `id` | *str* | :heavy_check_mark: | N/A | |
| `name` | *str* | :heavy_check_mark: | N/A | |
| `reprocess_all` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | |
| `schedule` | [OptionalNullable[shared.WorkflowSchedule]](../../models/shared/workflowschedule.md) | :heavy_minus_sign: | N/A | {<br/>"crontab_entries": [<br/>{<br/>"cron_expression": "0 0 * * *"<br/>}<br/>]<br/>} |
| `sources` | List[*str*] | :heavy_check_mark: | N/A | |
| `status` | [shared.WorkflowState](../../models/shared/workflowstate.md) | :heavy_check_mark: | N/A | |
Expand Down
14 changes: 7 additions & 7 deletions docs/models/shared/workflownode.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
| `subtype` | *str* | :heavy_check_mark: | N/A |
| `type` | [shared.WorkflowNodeType](../../models/shared/workflownodetype.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
| `subtype` | *str* | :heavy_check_mark: | N/A |
| `type` | *str* | :heavy_check_mark: | N/A |
11 changes: 0 additions & 11 deletions docs/models/shared/workflownodetype.md

This file was deleted.

2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
python:
version: 0.32.3
version: 0.32.4
additionalDependencies:
dev:
deepdiff: '>=6.0'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "unstructured-client"
version = "0.32.3"
version = "0.32.4"
description = "Python Client SDK for Unstructured API"
authors = [{ name = "Unstructured" },]
readme = "README-PYPI.md"
Expand Down
6 changes: 3 additions & 3 deletions src/unstructured_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "unstructured-client"
__version__: str = "0.32.3"
__version__: str = "0.32.4"
__openapi_doc_version__: str = "1.1.7"
__gen_version__: str = "2.568.2"
__user_agent__: str = "speakeasy-sdk/python 0.32.3 2.568.2 1.1.7 unstructured-client"
__gen_version__: str = "2.570.4"
__user_agent__: str = "speakeasy-sdk/python 0.32.4 2.570.4 1.1.7 unstructured-client"

try:
if __package__ is not None:
Expand Down
2 changes: 0 additions & 2 deletions src/unstructured_client/models/shared/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@
)
from .workflowinformation import WorkflowInformation, WorkflowInformationTypedDict
from .workflownode import WorkflowNode, WorkflowNodeTypedDict
from .workflownodetype import WorkflowNodeType
from .workflowschedule import WorkflowSchedule, WorkflowScheduleTypedDict
from .workflowstate import WorkflowState
from .workflowtype import WorkflowType
Expand Down Expand Up @@ -592,7 +591,6 @@
"WorkflowInformation",
"WorkflowInformationTypedDict",
"WorkflowNode",
"WorkflowNodeType",
"WorkflowNodeTypedDict",
"WorkflowSchedule",
"WorkflowScheduleTypedDict",
Expand Down
19 changes: 17 additions & 2 deletions src/unstructured_client/models/shared/createworkflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class CreateWorkflowTypedDict(TypedDict):
name: str
workflow_type: WorkflowType
destination_id: NotRequired[Nullable[str]]
reprocess_all: NotRequired[Nullable[bool]]
schedule: NotRequired[Nullable[Schedule]]
source_id: NotRequired[Nullable[str]]
workflow_nodes: NotRequired[Nullable[List[WorkflowNodeTypedDict]]]
Expand All @@ -46,6 +47,8 @@ class CreateWorkflow(BaseModel):

destination_id: OptionalNullable[str] = UNSET

reprocess_all: OptionalNullable[bool] = UNSET

schedule: OptionalNullable[Schedule] = UNSET

source_id: OptionalNullable[str] = UNSET
Expand All @@ -54,8 +57,20 @@ class CreateWorkflow(BaseModel):

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = ["destination_id", "schedule", "source_id", "workflow_nodes"]
nullable_fields = ["destination_id", "schedule", "source_id", "workflow_nodes"]
optional_fields = [
"destination_id",
"reprocess_all",
"schedule",
"source_id",
"workflow_nodes",
]
nullable_fields = [
"destination_id",
"reprocess_all",
"schedule",
"source_id",
"workflow_nodes",
]
null_default_fields = []

serialized = handler(self)
Expand Down
5 changes: 5 additions & 0 deletions src/unstructured_client/models/shared/updateworkflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class UpdateWorkflowSchedule(str, Enum):
class UpdateWorkflowTypedDict(TypedDict):
destination_id: NotRequired[Nullable[str]]
name: NotRequired[Nullable[str]]
reprocess_all: NotRequired[Nullable[bool]]
schedule: NotRequired[Nullable[UpdateWorkflowSchedule]]
source_id: NotRequired[Nullable[str]]
workflow_nodes: NotRequired[Nullable[List[WorkflowNodeTypedDict]]]
Expand All @@ -44,6 +45,8 @@ class UpdateWorkflow(BaseModel):

name: OptionalNullable[str] = UNSET

reprocess_all: OptionalNullable[bool] = UNSET

schedule: OptionalNullable[UpdateWorkflowSchedule] = UNSET

source_id: OptionalNullable[str] = UNSET
Expand All @@ -57,6 +60,7 @@ def serialize_model(self, handler):
optional_fields = [
"destination_id",
"name",
"reprocess_all",
"schedule",
"source_id",
"workflow_nodes",
Expand All @@ -65,6 +69,7 @@ def serialize_model(self, handler):
nullable_fields = [
"destination_id",
"name",
"reprocess_all",
"schedule",
"source_id",
"workflow_nodes",
Expand Down
7 changes: 5 additions & 2 deletions src/unstructured_client/models/shared/workflowinformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class WorkflowInformationTypedDict(TypedDict):
sources: List[str]
status: WorkflowState
workflow_nodes: List[WorkflowNodeTypedDict]
reprocess_all: NotRequired[Nullable[bool]]
schedule: NotRequired[Nullable[WorkflowScheduleTypedDict]]
updated_at: NotRequired[Nullable[datetime]]
workflow_type: NotRequired[Nullable[WorkflowType]]
Expand All @@ -46,6 +47,8 @@ class WorkflowInformation(BaseModel):

workflow_nodes: List[WorkflowNode]

reprocess_all: OptionalNullable[bool] = UNSET

schedule: OptionalNullable[WorkflowSchedule] = UNSET

updated_at: OptionalNullable[datetime] = UNSET
Expand All @@ -54,8 +57,8 @@ class WorkflowInformation(BaseModel):

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = ["schedule", "updated_at", "workflow_type"]
nullable_fields = ["schedule", "updated_at", "workflow_type"]
optional_fields = ["reprocess_all", "schedule", "updated_at", "workflow_type"]
nullable_fields = ["reprocess_all", "schedule", "updated_at", "workflow_type"]
null_default_fields = []

serialized = handler(self)
Expand Down
Loading