Skip to content

chore: 🐝 Update SDK - Generate 0.31.6 #252

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 27, 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
8 changes: 4 additions & 4 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: 980094d4c1cc005e5d065733ea9dda37
docChecksum: c919f9a5fe1fffc0fe08d9ba771fdf37
docVersion: 1.0.81
speakeasyVersion: 1.524.0
speakeasyVersion: 1.525.1
generationVersion: 2.562.2
releaseVersion: 0.31.5
configChecksum: 8691cb4d978f562abacc4daa272fb165
releaseVersion: 0.31.6
configChecksum: 4c2dbab9c89a9d2312d8d54a2c3fef88
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.524.0
speakeasyVersion: 1.525.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:f6a8785e8b436f082918b84332b31aa23ce54e7291409a9b8273ae304d22f974
sourceBlobDigest: sha256:2880dce0db29c4c11b25e756ef6b4ab9fd10937476f90aa3e289cdfb9a4db73d
sourceRevisionDigest: sha256:8cefa2db4e0071ffc9ae499d113126153c720616d0f065d3cfd8d0130d695c14
sourceBlobDigest: sha256:bbe20a8c95ddaf534208edebea334f221fa91acaff2ae00525987715bd36b943
tags:
- latest
- speakeasy-sdk-regen-1743034203
- speakeasy-sdk-regen-1743108088
- 1.0.81
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:f6a8785e8b436f082918b84332b31aa23ce54e7291409a9b8273ae304d22f974
sourceBlobDigest: sha256:2880dce0db29c4c11b25e756ef6b4ab9fd10937476f90aa3e289cdfb9a4db73d
sourceRevisionDigest: sha256:8cefa2db4e0071ffc9ae499d113126153c720616d0f065d3cfd8d0130d695c14
sourceBlobDigest: sha256:bbe20a8c95ddaf534208edebea334f221fa91acaff2ae00525987715bd36b943
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:f7a6ee89698beee588f93f579c3e0b3ce972d4c007be21f0166023db12955063
codeSamplesRevisionDigest: sha256:974e4d48d27a10c9be80ec289dc9dbf7903b32a4ac7f0c6821c8224e52b93799
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 @@ -895,4 +895,14 @@ Based on:
### Generated
- [python v0.31.5] .
### Releases
- [PyPI v0.31.5] https://pypi.org/project/unstructured-client/0.31.5 - .
- [PyPI v0.31.5] https://pypi.org/project/unstructured-client/0.31.5 - .

## 2025-03-27 20:41:12
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.525.1 (2.562.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.31.6] .
### Releases
- [PyPI v0.31.6] https://pypi.org/project/unstructured-client/0.31.6 - .
12 changes: 6 additions & 6 deletions docs/models/shared/googledrivesourceconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `drive_id` | *str* | :heavy_check_mark: | N/A |
| `recursive` | *bool* | :heavy_check_mark: | N/A |
| `service_account_key` | *str* | :heavy_check_mark: | N/A |
| `extensions` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| --------------------- | --------------------- | --------------------- | --------------------- |
| `drive_id` | *str* | :heavy_check_mark: | N/A |
| `recursive` | *bool* | :heavy_check_mark: | N/A |
| `service_account_key` | *str* | :heavy_check_mark: | N/A |
| `extensions` | List[*str*] | :heavy_minus_sign: | N/A |
12 changes: 6 additions & 6 deletions docs/models/shared/googledrivesourceconnectorconfiginput.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| `drive_id` | *str* | :heavy_check_mark: | N/A |
| `service_account_key` | *str* | :heavy_check_mark: | N/A |
| `extensions` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| --------------------- | --------------------- | --------------------- | --------------------- |
| `drive_id` | *str* | :heavy_check_mark: | N/A |
| `service_account_key` | *str* | :heavy_check_mark: | N/A |
| `extensions` | List[*str*] | :heavy_minus_sign: | N/A |
| `recursive` | *Optional[bool]* | :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.31.5
version: 0.31.6
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.31.5"
version = "0.31.6"
description = "Python Client SDK for Unstructured API"
authors = [{ name = "Unstructured" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 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.31.5"
__version__: str = "0.31.6"
__openapi_doc_version__: str = "1.0.81"
__gen_version__: str = "2.562.2"
__user_agent__: str = "speakeasy-sdk/python 0.31.5 2.562.2 1.0.81 unstructured-client"
__user_agent__: str = "speakeasy-sdk/python 0.31.6 2.562.2 1.0.81 unstructured-client"

try:
if __package__ is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from __future__ import annotations
from pydantic import model_serializer
from typing import List
from typing_extensions import NotRequired, TypedDict
from unstructured_client.types import (
BaseModel,
Expand All @@ -16,7 +17,7 @@ class GoogleDriveSourceConnectorConfigTypedDict(TypedDict):
drive_id: str
recursive: bool
service_account_key: str
extensions: NotRequired[Nullable[str]]
extensions: NotRequired[Nullable[List[str]]]


class GoogleDriveSourceConnectorConfig(BaseModel):
Expand All @@ -26,7 +27,7 @@ class GoogleDriveSourceConnectorConfig(BaseModel):

service_account_key: str

extensions: OptionalNullable[str] = UNSET
extensions: OptionalNullable[List[str]] = UNSET

@model_serializer(mode="wrap")
def serialize_model(self, handler):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations
from pydantic import model_serializer
from typing import Optional
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict
from unstructured_client.types import (
BaseModel,
Expand All @@ -16,7 +16,7 @@
class GoogleDriveSourceConnectorConfigInputTypedDict(TypedDict):
drive_id: str
service_account_key: str
extensions: NotRequired[Nullable[str]]
extensions: NotRequired[Nullable[List[str]]]
recursive: NotRequired[bool]


Expand All @@ -25,7 +25,7 @@ class GoogleDriveSourceConnectorConfigInput(BaseModel):

service_account_key: str

extensions: OptionalNullable[str] = UNSET
extensions: OptionalNullable[List[str]] = UNSET

recursive: Optional[bool] = True

Expand Down
Loading