Skip to content

Commit 9887cd5

Browse files
committed
Revert to speakeasy==1.490.0 and regenerate
Spec changes: - Add Box as source connector - Fix WorkflowNodeSettings not accepting any fields
1 parent ded1b14 commit 9887cd5

31 files changed

+183
-150
lines changed

.speakeasy/gen.lock

Lines changed: 12 additions & 9 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: eb050201e8bfff645042e3b2847104cc
4+
docChecksum: 0f9100e28d13105be2af4e576ea4572c
55
docVersion: 1.0.68
6-
speakeasyVersion: 1.504.1
7-
generationVersion: 2.529.2
8-
releaseVersion: 0.31.0
9-
configChecksum: faf5191e78f1597b78cd7600af4f1d96
6+
speakeasyVersion: 1.490.0
7+
generationVersion: 2.512.0
8+
releaseVersion: 0.30.5
9+
configChecksum: 25a75f7add3305b685de164ad454cb9a
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -16,7 +16,7 @@ features:
1616
acceptHeaders: 3.0.0
1717
additionalDependencies: 1.0.0
1818
constsAndDefaults: 1.0.5
19-
core: 5.12.1
19+
core: 5.11.0
2020
defaultEnabledRetries: 0.2.0
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.3.2
@@ -27,11 +27,11 @@ features:
2727
methodServerURLs: 3.1.1
2828
multipartFileContentType: 1.0.0
2929
nameOverrides: 3.0.1
30-
nullables: 1.0.1
30+
nullables: 1.0.0
3131
openEnums: 1.0.0
3232
responseFormat: 1.0.1
3333
retries: 3.0.2
34-
sdkHooks: 1.0.1
34+
sdkHooks: 1.0.0
3535
serverIDs: 3.0.0
3636
unions: 3.0.4
3737
uploadStreams: 1.0.0
@@ -89,6 +89,8 @@ generatedFiles:
8989
- docs/models/shared/azureaisearchconnectorconfiginput.md
9090
- docs/models/shared/azuresourceconnectorconfig.md
9191
- docs/models/shared/azuresourceconnectorconfiginput.md
92+
- docs/models/shared/boxsourceconnectorconfig.md
93+
- docs/models/shared/boxsourceconnectorconfiginput.md
9294
- docs/models/shared/config.md
9395
- docs/models/shared/confluencesourceconnectorconfig.md
9496
- docs/models/shared/confluencesourceconnectorconfiginput.md
@@ -155,7 +157,6 @@ generatedFiles:
155157
- docs/models/shared/salesforcesourceconnectorconfiginput.md
156158
- docs/models/shared/schedule.md
157159
- docs/models/shared/security.md
158-
- docs/models/shared/settings.md
159160
- docs/models/shared/sharepointsourceconnectorconfig.md
160161
- docs/models/shared/sharepointsourceconnectorconfiginput.md
161162
- docs/models/shared/snowflakedestinationconnectorconfig.md
@@ -235,6 +236,8 @@ generatedFiles:
235236
- src/unstructured_client/models/shared/azureaisearchconnectorconfiginput.py
236237
- src/unstructured_client/models/shared/azuresourceconnectorconfig.py
237238
- src/unstructured_client/models/shared/azuresourceconnectorconfiginput.py
239+
- src/unstructured_client/models/shared/boxsourceconnectorconfig.py
240+
- src/unstructured_client/models/shared/boxsourceconnectorconfiginput.py
238241
- src/unstructured_client/models/shared/confluencesourceconnectorconfig.py
239242
- src/unstructured_client/models/shared/confluencesourceconnectorconfiginput.py
240243
- src/unstructured_client/models/shared/couchbasedestinationconnectorconfig.py

README.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ from unstructured_client import UnstructuredClient
113113
from unstructured_client.models import shared
114114
from unstructured_client.utils import BackoffStrategy, RetryConfig
115115

116-
with UnstructuredClient(
117-
server_url="https://api.example.com",
118-
) as uc_client:
116+
with UnstructuredClient() as uc_client:
119117

120118
res = uc_client.destinations.create_destination(request={
121119
"create_destination_connector": {
@@ -144,7 +142,6 @@ from unstructured_client.models import shared
144142
from unstructured_client.utils import BackoffStrategy, RetryConfig
145143

146144
with UnstructuredClient(
147-
server_url="https://api.example.com",
148145
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
149146
) as uc_client:
150147

@@ -196,9 +193,7 @@ When custom error responses are specified for an operation, the SDK may also rai
196193
from unstructured_client import UnstructuredClient
197194
from unstructured_client.models import errors, shared
198195

199-
with UnstructuredClient(
200-
server_url="https://api.example.com",
201-
) as uc_client:
196+
with UnstructuredClient() as uc_client:
202197
res = None
203198
try:
204199

@@ -330,9 +325,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
330325
from unstructured_client import UnstructuredClient
331326
from unstructured_client.models import shared
332327

333-
with UnstructuredClient(
334-
server_url="https://api.example.com",
335-
) as uc_client:
328+
with UnstructuredClient() as uc_client:
336329

337330
res = uc_client.destinations.create_destination(request={
338331
"create_destination_connector": {
@@ -362,9 +355,7 @@ from unstructured_client import UnstructuredClient
362355
from unstructured_client.models import shared
363356

364357
async def main():
365-
async with UnstructuredClient(
366-
server_url="https://api.example.com",
367-
) as uc_client:
358+
async with UnstructuredClient() as uc_client:
368359

369360
res = await uc_client.destinations.create_destination_async(request={
370361
"create_destination_connector": {
@@ -459,9 +450,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
459450
```python
460451
from unstructured_client import UnstructuredClient
461452

462-
with UnstructuredClient(
463-
server_url="https://api.example.com",
464-
) as uc_client:
453+
with UnstructuredClient() as uc_client:
465454

466455
res = uc_client.general.partition(request={
467456
"partition_parameters": {
@@ -494,17 +483,13 @@ The `UnstructuredClient` class implements the context manager protocol and regis
494483
```python
495484
from unstructured_client import UnstructuredClient
496485
def main():
497-
with UnstructuredClient(
498-
server_url="https://api.example.com",
499-
) as uc_client:
486+
with UnstructuredClient() as uc_client:
500487
# Rest of application here...
501488

502489

503490
# Or when using async:
504491
async def amain():
505-
async with UnstructuredClient(
506-
server_url="https://api.example.com",
507-
) as uc_client:
492+
async with UnstructuredClient() as uc_client:
508493
# Rest of application here...
509494
```
510495
<!-- End Resource Management [resource-management] -->
@@ -520,7 +505,7 @@ from unstructured_client import UnstructuredClient
520505
import logging
521506

522507
logging.basicConfig(level=logging.DEBUG)
523-
s = UnstructuredClient(server_url="https://example.com", debug_logger=logging.getLogger("unstructured_client"))
508+
s = UnstructuredClient(debug_logger=logging.getLogger("unstructured_client"))
524509
```
525510
<!-- End Debugging [debug] -->
526511

USAGE.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
from unstructured_client import UnstructuredClient
55
from unstructured_client.models import shared
66

7-
with UnstructuredClient(
8-
server_url="https://api.example.com",
9-
) as uc_client:
7+
with UnstructuredClient() as uc_client:
108

119
res = uc_client.destinations.create_destination(request={
1210
"create_destination_connector": {
@@ -36,9 +34,7 @@ from unstructured_client import UnstructuredClient
3634
from unstructured_client.models import shared
3735

3836
async def main():
39-
async with UnstructuredClient(
40-
server_url="https://api.example.com",
41-
) as uc_client:
37+
async with UnstructuredClient() as uc_client:
4238

4339
res = await uc_client.destinations.create_destination_async(request={
4440
"create_destination_connector": {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# BoxSourceConnectorConfig
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `box_app_config` | *str* | :heavy_check_mark: | N/A |
9+
| `recursive` | *bool* | :heavy_check_mark: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# BoxSourceConnectorConfigInput
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `box_app_config` | *str* | :heavy_check_mark: | N/A |
9+
| `remote_url` | *str* | :heavy_check_mark: | N/A |
10+
| `recursive` | *Optional[bool]* | :heavy_minus_sign: | N/A |

docs/models/shared/createsourceconnectorconfig.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
value: shared.AzureSourceConnectorConfigInput = /* values here */
1010
```
1111

12+
### `shared.BoxSourceConnectorConfigInput`
13+
14+
```python
15+
value: shared.BoxSourceConnectorConfigInput = /* values here */
16+
```
17+
1218
### `shared.ConfluenceSourceConnectorConfigInput`
1319

1420
```python

docs/models/shared/settings.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/models/shared/sourceconnectorinformationconfig.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
value: shared.AzureSourceConnectorConfig = /* values here */
1010
```
1111

12+
### `shared.BoxSourceConnectorConfig`
13+
14+
```python
15+
value: shared.BoxSourceConnectorConfig = /* values here */
16+
```
17+
1218
### `shared.ConfluenceSourceConnectorConfig`
1319

1420
```python

docs/models/shared/sourceconnectortype.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| Name | Value |
77
| -------------------- | -------------------- |
88
| `AZURE` | azure |
9+
| `BOX` | box |
910
| `CONFLUENCE` | confluence |
1011
| `COUCHBASE` | couchbase |
1112
| `DATABRICKS_VOLUMES` | databricks_volumes |

docs/models/shared/updatesourceconnectorconfig.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
value: shared.AzureSourceConnectorConfigInput = /* values here */
1010
```
1111

12+
### `shared.BoxSourceConnectorConfigInput`
13+
14+
```python
15+
value: shared.BoxSourceConnectorConfigInput = /* values here */
16+
```
17+
1218
### `shared.ConfluenceSourceConnectorConfigInput`
1319

1420
```python

0 commit comments

Comments
 (0)