Skip to content

chore: 🐝 Update SDK - Generate 0.30.1 #225

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
Feb 16, 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: 5 additions & 5 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: 5a43e7edd2c65894a9035e3da04cde62
docChecksum: 500f51b9ece99e4d8171e8074adb5c57
docVersion: 1.0.0
speakeasyVersion: 1.490.0
generationVersion: 2.512.0
releaseVersion: 0.30.0
configChecksum: f9c1824df1e51bc4b73670158cae620b
speakeasyVersion: 1.493.0
generationVersion: 2.512.4
releaseVersion: 0.30.1
configChecksum: 221b178c402e9d1c592b066e2207dbe7
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
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.490.0
speakeasyVersion: 1.493.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:82a732bbca2d957159890b94e36ff6f10eea1dc12e80bb275ec1675925570321
sourceBlobDigest: sha256:1730103738b7c456ab90d2ff77471053ecba8ed90efc82e97dce14c520fb6e6f
sourceRevisionDigest: sha256:b64c6663fac204ca5c6a94b8e8c5bb8826ccd471d58dbea28dd7907e92530694
sourceBlobDigest: sha256:6c9f0660f6595627ded66c15cbb722d4783185d9bf4e6ef14e924bf4dcda5a20
tags:
- latest
- speakeasy-sdk-regen-1739465403
- speakeasy-sdk-regen-1739578178
- 1.0.0
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:82a732bbca2d957159890b94e36ff6f10eea1dc12e80bb275ec1675925570321
sourceBlobDigest: sha256:1730103738b7c456ab90d2ff77471053ecba8ed90efc82e97dce14c520fb6e6f
sourceRevisionDigest: sha256:b64c6663fac204ca5c6a94b8e8c5bb8826ccd471d58dbea28dd7907e92530694
sourceBlobDigest: sha256:6c9f0660f6595627ded66c15cbb722d4783185d9bf4e6ef14e924bf4dcda5a20
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:b30a1c0c949edf543749837da980ac9786c05d9c4deeafc777340a39682d11e0
codeSamplesRevisionDigest: sha256:64a726686ef3036335a4803c9761b4ff9cc346a3ebc1d93d4b6aeea33358a769
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 @@ -774,4 +774,14 @@ Based on:
### Generated
- [python v0.30.0] .
### Releases
- [PyPI v0.30.0] https://pypi.org/project/unstructured-client/0.30.0 - .
- [PyPI v0.30.0] https://pypi.org/project/unstructured-client/0.30.0 - .

## 2025-02-15 00:09:23
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.493.0 (2.512.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.30.1] .
### Releases
- [PyPI v0.30.1] https://pypi.org/project/unstructured-client/0.30.1 - .
1 change: 0 additions & 1 deletion docs/models/shared/workflowinformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
| `sources` | List[*str*] | :heavy_check_mark: | N/A | |
| `status` | [shared.WorkflowState](../../models/shared/workflowstate.md) | :heavy_check_mark: | N/A | |
| `workflow_type` | [Nullable[shared.WorkflowType]](../../models/shared/workflowtype.md) | :heavy_check_mark: | N/A | |
| `jobs` | List[[shared.JobInformation](../../models/shared/jobinformation.md)] | :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/>} |
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | |
| `workflow_nodes` | List[[shared.WorkflowNode](../../models/shared/workflownode.md)] | :heavy_minus_sign: | N/A | |
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.30.0
version: 0.30.1
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.30.0"
version = "0.30.1"
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.30.0"
__version__: str = "0.30.1"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.512.0"
__user_agent__: str = "speakeasy-sdk/python 0.30.0 2.512.0 1.0.0 unstructured-client"
__gen_version__: str = "2.512.4"
__user_agent__: str = "speakeasy-sdk/python 0.30.1 2.512.4 1.0.0 unstructured-client"

try:
if __package__ is not None:
Expand Down
8 changes: 2 additions & 6 deletions src/unstructured_client/models/shared/workflowinformation.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .jobinformation import JobInformation, JobInformationTypedDict
from .workflownode import WorkflowNode, WorkflowNodeTypedDict
from .workflowschedule import WorkflowSchedule, WorkflowScheduleTypedDict
from .workflowstate import WorkflowState
from .workflowtype import WorkflowType
from datetime import datetime
from pydantic import model_serializer
from typing import List, Optional
from typing import List
from typing_extensions import NotRequired, TypedDict
from unstructured_client.types import (
BaseModel,
Expand All @@ -27,7 +26,6 @@ class WorkflowInformationTypedDict(TypedDict):
sources: List[str]
status: WorkflowState
workflow_type: Nullable[WorkflowType]
jobs: NotRequired[List[JobInformationTypedDict]]
schedule: NotRequired[Nullable[WorkflowScheduleTypedDict]]
updated_at: NotRequired[Nullable[datetime]]
workflow_nodes: NotRequired[Nullable[List[WorkflowNodeTypedDict]]]
Expand All @@ -48,8 +46,6 @@ class WorkflowInformation(BaseModel):

workflow_type: Nullable[WorkflowType]

jobs: Optional[List[JobInformation]] = None

schedule: OptionalNullable[WorkflowSchedule] = UNSET

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

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

Expand Down
Loading