Skip to content

Commit 6f0441e

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.346.3
1 parent 977063e commit 6f0441e

32 files changed

+157
-96
lines changed

.speakeasy/gen.lock

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: 774e507b2df4f671362defe668d4d0d6
5-
docVersion: 1.0.39
6-
speakeasyVersion: 1.335.0
7-
generationVersion: 2.370.2
8-
releaseVersion: 0.24.1
9-
configChecksum: 7ebed47354cd1fd023aebb9420561b04
4+
docChecksum: c20db13bfb07ee6d97a80d72980a238c
5+
docVersion: 1.0.41
6+
speakeasyVersion: 1.346.3
7+
generationVersion: 2.379.6
8+
releaseVersion: 0.24.2
9+
configChecksum: fec8eaa9c3b1e2a9c9a2032679e8c951
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -15,7 +15,7 @@ features:
1515
python:
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.3
18-
core: 4.8.1
18+
core: 4.8.4
1919
examples: 2.81.3
2020
globalSecurity: 2.83.5
2121
globalSecurityCallbacks: 0.1.0
@@ -71,3 +71,4 @@ generatedFiles:
7171
- src/unstructured_client/_hooks/sdkhooks.py
7272
- src/unstructured_client/_hooks/types.py
7373
- src/unstructured_client/_hooks/__init__.py
74+
- CONTRIBUTING.md

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.335.0
1+
speakeasyVersion: 1.346.3
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:f10e0d137f19dffb5d454153726970d685470742c7a8d9371417d497011f39be
6-
sourceBlobDigest: sha256:b90b7b4a3f5ad94dd55e1cbaa47ae166776a377cb529dde2e3f1996f7789dbda
5+
sourceRevisionDigest: sha256:5d9b250735d4416a7f0752a371d407a15f145a127c6a8aa4f245c53f0be44064
6+
sourceBlobDigest: sha256:709a7147cfca8ac7467a83dec283a805ccff2ada39350e94a8ce8542964b4014
77
tags:
88
- latest
99
- main
1010
targets:
1111
unstructured-python:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:f10e0d137f19dffb5d454153726970d685470742c7a8d9371417d497011f39be
15-
sourceBlobDigest: sha256:b90b7b4a3f5ad94dd55e1cbaa47ae166776a377cb529dde2e3f1996f7789dbda
14+
sourceRevisionDigest: sha256:5d9b250735d4416a7f0752a371d407a15f145a127c6a8aa4f245c53f0be44064
15+
sourceBlobDigest: sha256:709a7147cfca8ac7467a83dec283a805ccff2ada39350e94a8ce8542964b4014
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to This Repository
2+
3+
Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.
4+
5+
## How to Report Issues
6+
7+
If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:
8+
9+
- A clear and descriptive title
10+
- Steps to reproduce the issue
11+
- Expected and actual behavior
12+
- Any relevant logs, screenshots, or error messages
13+
- Information about your environment (e.g., operating system, software versions)
14+
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed
15+
16+
## Issue Triage and Upstream Fixes
17+
18+
We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.
19+
20+
## Contact
21+
22+
If you have any questions or need further assistance, please feel free to reach out by opening an issue.
23+
24+
Thank you for your understanding and cooperation!
25+
26+
The Maintainers

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,12 @@ res = s.general.partition(request=operations.PartitionRequest(
131131
content='0x2cC94b2FEF'.encode(),
132132
file_name='your_file_here',
133133
),
134+
chunking_strategy=shared.ChunkingStrategy.BY_TITLE,
134135
split_pdf_page_range=[
135136
1,
136137
10,
137138
],
138-
strategy=shared.Strategy.AUTO,
139+
strategy=shared.Strategy.HI_RES,
139140
),
140141
),
141142
RetryConfig('backoff', BackoffStrategy(1, 50, 1.1, 100), False))
@@ -164,11 +165,12 @@ res = s.general.partition(request=operations.PartitionRequest(
164165
content='0x2cC94b2FEF'.encode(),
165166
file_name='your_file_here',
166167
),
168+
chunking_strategy=shared.ChunkingStrategy.BY_TITLE,
167169
split_pdf_page_range=[
168170
1,
169171
10,
170172
],
171-
strategy=shared.Strategy.AUTO,
173+
strategy=shared.Strategy.HI_RES,
172174
),
173175
))
174176

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,14 @@ Based on:
584584
### Generated
585585
- [python v0.24.1] .
586586
### Releases
587-
- [PyPI v0.24.1] https://pypi.org/project/unstructured-client/0.24.1 - .
587+
- [PyPI v0.24.1] https://pypi.org/project/unstructured-client/0.24.1 - .
588+
589+
## 2024-07-27 00:20:49
590+
### Changes
591+
Based on:
592+
- OpenAPI Doc
593+
- Speakeasy CLI 1.346.3 (2.379.6) https://github.com/speakeasy-api/speakeasy
594+
### Generated
595+
- [python v0.24.2] .
596+
### Releases
597+
- [PyPI v0.24.2] https://pypi.org/project/unstructured-client/0.24.2 - .

USAGE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ res = s.general.partition(request=operations.PartitionRequest(
1414
content='0x2cC94b2FEF'.encode(),
1515
file_name='your_file_here',
1616
),
17+
chunking_strategy=shared.ChunkingStrategy.BY_TITLE,
1718
split_pdf_page_range=[
1819
1,
1920
10,
2021
],
21-
strategy=shared.Strategy.AUTO,
22+
strategy=shared.Strategy.HI_RES,
2223
),
2324
))
2425

codeSamples.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ actions:
2424
content='0x2cC94b2FEF'.encode(),
2525
),
2626
strategy=shared.Strategy.AUTO,
27+
chunking_strategy=shared.ChunkingStrategy.BASIC,
2728
split_pdf_page_range=[
2829
1,
2930
10,

docs/models/shared/partitionparameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Field | Type | Required | Description | Example |
77
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
88
| `files` | [shared.Files](../../models/shared/files.md) | :heavy_check_mark: | The file to extract | |
9-
| `chunking_strategy` | [Optional[shared.ChunkingStrategy]](../../models/shared/chunkingstrategy.md) | :heavy_minus_sign: | Use one of the supported strategies to chunk the returned elements after partitioning. When 'chunking_strategy' is not specified, no chunking is performed and any other chunking parameters provided are ignored. Supported strategies: 'basic', 'by_page', 'by_similarity', or 'by_title' | |
9+
| `chunking_strategy` | [Optional[shared.ChunkingStrategy]](../../models/shared/chunkingstrategy.md) | :heavy_minus_sign: | Use one of the supported strategies to chunk the returned elements after partitioning. When 'chunking_strategy' is not specified, no chunking is performed and any other chunking parameters provided are ignored. Supported strategies: 'basic', 'by_page', 'by_similarity', or 'by_title' | by_title |
1010
| `combine_under_n_chars` | *Optional[int]* | :heavy_minus_sign: | If chunking strategy is set, combine elements until a section reaches a length of n chars. Default: 500 | |
1111
| `coordinates` | *Optional[bool]* | :heavy_minus_sign: | If `True`, return coordinates for each element extracted via OCR. Default: `False` | |
1212
| `encoding` | *Optional[str]* | :heavy_minus_sign: | The encoding method used to decode the text input. Default: utf-8 | |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
python:
13-
version: 0.24.1
13+
version: 0.24.2
1414
additionalDependencies:
1515
dependencies:
1616
deepdiff: '>=6.0'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
import setuptools
44
import re
@@ -19,7 +19,7 @@
1919

2020
setuptools.setup(
2121
name='unstructured-client',
22-
version='0.24.1',
22+
version='0.24.2',
2323
author='Unstructured',
2424
description='Python Client SDK for Unstructured API',
2525
license = 'MIT',

src/unstructured_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
from .sdk import *
44
from .sdkconfiguration import *

src/unstructured_client/_hooks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
from .sdkhooks import *
44
from .types import *

src/unstructured_client/_hooks/sdkhooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
import requests
44
from .types import SDKInitHook, BeforeRequestContext, BeforeRequestHook, AfterSuccessContext, AfterSuccessHook, AfterErrorContext, AfterErrorHook, Hooks

src/unstructured_client/_hooks/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
import requests as requests_http
44
from abc import ABC, abstractmethod

src/unstructured_client/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
1+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
22

33
import requests as requests_http
44
from .sdkconfiguration import SDKConfiguration

0 commit comments

Comments
 (0)