Skip to content

Commit 022b470

Browse files
committed
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.89.0
1 parent 034888d commit 022b470

25 files changed

+84
-50
lines changed

Diff for: README.md

+31-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ pip install unstructured-client
1717

1818
## SDK Example Usage
1919
<!-- Start SDK Example Usage -->
20-
21-
2220
```python
23-
import unstructured
24-
from unstructured.models import shared
21+
import unstructuredclient
22+
from unstructuredclient.models import shared
2523

26-
s = unstructured.Unstructured(
24+
s = unstructuredclient.UnstructuredClient(
2725
security=shared.Security(
2826
api_key_auth="YOUR_API_KEY",
2927
),
@@ -33,8 +31,8 @@ req = shared.PartitionParameters(
3331
coordinates=False,
3432
encoding='utf-8',
3533
files=shared.PartitionParametersFiles(
36-
content='corrupti'.encode(),
37-
files='provident',
34+
content='distinctio'.encode(),
35+
files='quibusdam',
3836
),
3937
gz_uncompressed_content_type='application/pdf',
4038
hi_res_model_name='yolox',
@@ -67,6 +65,32 @@ if res.partition_200_application_json_any is not None:
6765
* [partition](docs/sdks/general/README.md#partition) - Pipeline 1
6866
<!-- End SDK Available Operations -->
6967

68+
69+
70+
<!-- Start Dev Containers -->
71+
72+
73+
74+
<!-- End Dev Containers -->
75+
76+
77+
78+
<!-- Start Pagination -->
79+
# Pagination
80+
81+
Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
82+
returned response object will have a `Next` method that can be called to pull down the next group of results. If the
83+
return value of `Next` is `None`, then there are no more pages to be fetched.
84+
85+
Here's an example of one such pagination call:
86+
87+
88+
<!-- End Pagination -->
89+
90+
<!-- Placeholder for Future Speakeasy SDK Sections -->
91+
92+
93+
7094
### Maturity
7195

7296
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,14 @@ Based on:
4444
### Generated
4545
- [python v0.1.4] .
4646
### Releases
47-
- [PyPI v0.1.4] https://pypi.org/project/unstructured-client/0.1.4 - .
47+
- [PyPI v0.1.4] https://pypi.org/project/unstructured-client/0.1.4 - .
48+
49+
## 2023-09-21 21:44:23
50+
### Changes
51+
Based on:
52+
- OpenAPI Doc 0.0.1
53+
- Speakeasy CLI 1.89.0 (2.125.1) https://github.com/speakeasy-api/speakeasy
54+
### Generated
55+
- [python v0.2.0] .
56+
### Releases
57+
- [PyPI v0.2.0] https://pypi.org/project/unstructured-client/0.2.0 - .

Diff for: USAGE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33

44
```python
5-
import unstructured
6-
from unstructured.models import shared
5+
import unstructuredclient
6+
from unstructuredclient.models import shared
77

8-
s = unstructured.Unstructured(
8+
s = unstructuredclient.UnstructuredClient(
99
security=shared.Security(
1010
api_key_auth="YOUR_API_KEY",
1111
),

Diff for: docs/sdks/general/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Pipeline 1
1111
### Example Usage
1212

1313
```python
14-
import unstructured
15-
from unstructured.models import shared
14+
import unstructuredclient
15+
from unstructuredclient.models import shared
1616

17-
s = unstructured.Unstructured(
17+
s = unstructuredclient.UnstructuredClient(
1818
security=shared.Security(
1919
api_key_auth="YOUR_API_KEY",
2020
),
@@ -24,8 +24,8 @@ req = shared.PartitionParameters(
2424
coordinates=False,
2525
encoding='utf-8',
2626
files=shared.PartitionParametersFiles(
27-
content='distinctio'.encode(),
28-
files='quibusdam',
27+
content='unde'.encode(),
28+
files='nulla',
2929
),
3030
gz_uncompressed_content_type='application/pdf',
3131
hi_res_model_name='yolox',

Diff for: docs/sdks/unstructured/README.md renamed to docs/sdks/unstructuredclient/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unstructured SDK
1+
# UnstructuredClient SDK
22

33
## Overview
44

Diff for: files.gen

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
src/unstructured/sdkconfiguration.py
2-
src/unstructured/general.py
3-
src/unstructured/sdk.py
1+
src/unstructuredclient/sdkconfiguration.py
2+
src/unstructuredclient/general.py
3+
src/unstructuredclient/sdk.py
44
pylintrc
55
setup.py
6-
src/unstructured/__init__.py
7-
src/unstructured/models/__init__.py
8-
src/unstructured/models/errors/sdkerror.py
9-
src/unstructured/utils/__init__.py
10-
src/unstructured/utils/retries.py
11-
src/unstructured/utils/utils.py
12-
src/unstructured/models/operations/partition.py
13-
src/unstructured/models/operations/__init__.py
14-
src/unstructured/models/errors/httpvalidationerror.py
15-
src/unstructured/models/errors/validationerror.py
16-
src/unstructured/models/errors/__init__.py
17-
src/unstructured/models/shared/partition_parameters.py
18-
src/unstructured/models/shared/security.py
19-
src/unstructured/models/shared/__init__.py
20-
docs/sdks/unstructured/README.md
21-
docs/models/utils/retryconfig.md
22-
docs/sdks/general/README.md
6+
src/unstructuredclient/__init__.py
7+
src/unstructuredclient/models/__init__.py
8+
src/unstructuredclient/models/errors/sdkerror.py
9+
src/unstructuredclient/utils/__init__.py
10+
src/unstructuredclient/utils/retries.py
11+
src/unstructuredclient/utils/utils.py
12+
src/unstructuredclient/models/operations/partition.py
13+
src/unstructuredclient/models/operations/__init__.py
14+
src/unstructuredclient/models/errors/httpvalidationerror.py
15+
src/unstructuredclient/models/errors/validationerror.py
16+
src/unstructuredclient/models/errors/__init__.py
17+
src/unstructuredclient/models/shared/partition_parameters.py
18+
src/unstructuredclient/models/shared/security.py
19+
src/unstructuredclient/models/shared/__init__.py
2320
USAGE.md
2421
docs/models/operations/partitionresponse.md
2522
docs/models/errors/httpvalidationerror.md
2623
docs/models/errors/validationerror.md
2724
docs/models/shared/partitionparametersfiles.md
2825
docs/models/shared/partitionparameters.md
2926
docs/models/shared/security.md
27+
docs/sdks/unstructuredclient/README.md
28+
docs/models/utils/retryconfig.md
29+
docs/sdks/general/README.md
3030
.gitattributes

Diff for: gen.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ configVersion: 1.0.0
22
management:
33
docChecksum: cc03d89cb6fb271665ed6c9eff312ff0
44
docVersion: 0.0.1
5-
speakeasyVersion: 1.88.0
6-
generationVersion: 2.118.1
5+
speakeasyVersion: 1.89.0
6+
generationVersion: 2.125.1
77
generation:
88
comments:
99
disableComments: false
@@ -23,7 +23,7 @@ features:
2323
retries: 2.82.0
2424
serverIDs: 2.81.1
2525
python:
26-
version: 0.1.4
26+
version: 0.2.0
2727
author: Unstructured
2828
clientServerStatusCodesAsErrors: true
2929
description: Python Client SDK Generated by Speakeasy

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="unstructured-client",
13-
version="0.1.4",
13+
version="0.2.0",
1414
author="Unstructured",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,
File renamed without changes.

Diff for: src/unstructured/general.py renamed to src/unstructuredclient/general.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from .sdkconfiguration import SDKConfiguration
44
from typing import Any, Optional
5-
from unstructured import utils
6-
from unstructured.models import errors, operations, shared
5+
from unstructuredclient import utils
6+
from unstructuredclient.models import errors, operations, shared
77

88
class General:
99
sdk_configuration: SDKConfiguration
File renamed without changes.

Diff for: src/unstructured/models/errors/httpvalidationerror.py renamed to src/unstructuredclient/models/errors/httpvalidationerror.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from ..errors import validationerror as errors_validationerror
66
from dataclasses_json import Undefined, dataclass_json
77
from typing import Optional
8-
from unstructured import utils
8+
from unstructuredclient import utils
99

1010

1111
@dataclass_json(undefined=Undefined.EXCLUDE)

Diff for: src/unstructured/models/errors/validationerror.py renamed to src/unstructuredclient/models/errors/validationerror.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import dataclasses
55
from dataclasses_json import Undefined, dataclass_json
66
from typing import Any
7-
from unstructured import utils
7+
from unstructuredclient import utils
88

99

1010
@dataclass_json(undefined=Undefined.EXCLUDE)

Diff for: src/unstructured/sdk.py renamed to src/unstructuredclient/sdk.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import requests as requests_http
44
from .general import General
55
from .sdkconfiguration import SDKConfiguration
6-
from unstructured import utils
7-
from unstructured.models import shared
6+
from unstructuredclient import utils
7+
from unstructuredclient.models import shared
88

9-
class Unstructured:
9+
class UnstructuredClient:
1010
r"""Unstructured Pipeline API: Partition documents with the Unstructured library"""
1111
general: General
1212

Diff for: src/unstructured/sdkconfiguration.py renamed to src/unstructuredclient/sdkconfiguration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class SDKConfiguration:
2525
server: str = ''
2626
language: str = 'python'
2727
openapi_doc_version: str = '0.0.1'
28-
sdk_version: str = '0.1.4'
29-
gen_version: str = '2.118.1'
28+
sdk_version: str = '0.2.0'
29+
gen_version: str = '2.125.1'
3030
retry_config: RetryConfig = None
3131

3232
def get_server_details(self) -> tuple[str, dict[str, str]]:
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)