Skip to content

Commit 2bb8ca9

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.285.1
1 parent f56262c commit 2bb8ca9

File tree

33 files changed

+240
-285
lines changed

33 files changed

+240
-285
lines changed

.speakeasy/gen.lock

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
lockVersion: 2.0.0
22
id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
33
management:
4-
docChecksum: 5b0eee49ab3aced27d58ad63f2f07d70
4+
docChecksum: 781d670121afeffb63b7a5292c609f7f
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.279.0
7-
generationVersion: 2.322.5
8-
releaseVersion: 5.7.1
9-
configChecksum: 42d99b9af9f08fc47a34d6d9a11284a9
6+
speakeasyVersion: 1.285.1
7+
generationVersion: 2.326.3
8+
releaseVersion: 5.8.0
9+
configChecksum: 0271552df0d6be955d2feac105e87590
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
1313
published: true
1414
features:
1515
python:
1616
acceptHeaders: 2.81.2
17+
additionalDependencies: 0.1.0
1718
core: 4.6.7
1819
downloadStreams: 0.0.2
1920
examples: 2.81.3
2021
globalSecurity: 2.83.5
22+
globalSecurityCallbacks: 0.1.0
2123
globalServerURLs: 2.82.2
2224
globals: 2.82.1
2325
inputOutputModels: 2.83.1
2426
responseFormat: 0.1.0
2527
retries: 2.82.2
28+
sdkHooks: 0.1.0
2629
serverIDs: 2.81.1
2730
generatedFiles:
2831
- src/speakeasy/sdkconfiguration.py

README.md

Lines changed: 14 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ s = speakeasy.Speakeasy(
2121
security=shared.Security(
2222
api_key="<YOUR_API_KEY_HERE>",
2323
),
24-
workspace_id='<value>',
2524
)
2625

27-
req = operations.GetApisRequest()
28-
29-
res = s.apis.get_apis(req)
26+
res = s.apis.get_apis(request=operations.GetApisRequest())
3027

3128
if res.apis is not None:
3229
# handle response
@@ -148,16 +145,13 @@ s = speakeasy.Speakeasy(
148145
security=shared.Security(
149146
api_key="<YOUR_API_KEY_HERE>",
150147
),
151-
workspace_id='<value>',
152-
)
153-
154-
req = operations.GetWorkspaceEventsByTargetRequest(
155-
target_id='<value>',
156148
)
157149

158150
res = None
159151
try:
160-
res = s.events.get_workspace_events_by_target(req)
152+
res = s.events.get_workspace_events_by_target(request=operations.GetWorkspaceEventsByTargetRequest(
153+
target_id='<value>',
154+
))
161155
except errors.Error as e:
162156
# handle exception
163157
raise(e)
@@ -196,15 +190,12 @@ s = speakeasy.Speakeasy(
196190
security=shared.Security(
197191
api_key="<YOUR_API_KEY_HERE>",
198192
),
199-
workspace_id='<value>',
200193
)
201194

202-
req = operations.DeleteAPIRequest(
195+
res = s.apis.delete_api(request=operations.DeleteAPIRequest(
203196
api_id='<value>',
204197
version_id='<value>',
205-
)
206-
207-
res = s.apis.delete_api(req)
198+
))
208199

209200
if res is not None:
210201
# handle response
@@ -225,15 +216,12 @@ s = speakeasy.Speakeasy(
225216
security=shared.Security(
226217
api_key="<YOUR_API_KEY_HERE>",
227218
),
228-
workspace_id='<value>',
229219
)
230220

231-
req = operations.DeleteAPIRequest(
221+
res = s.apis.delete_api(request=operations.DeleteAPIRequest(
232222
api_id='<value>',
233223
version_id='<value>',
234-
)
235-
236-
res = s.apis.delete_api(req)
224+
))
237225

238226
if res is not None:
239227
# handle response
@@ -283,15 +271,12 @@ s = speakeasy.Speakeasy(
283271
security=shared.Security(
284272
api_key="<YOUR_API_KEY_HERE>",
285273
),
286-
workspace_id='<value>',
287274
)
288275

289-
req = operations.DeleteAPIRequest(
276+
res = s.apis.delete_api(request=operations.DeleteAPIRequest(
290277
api_id='<value>',
291278
version_id='<value>',
292-
)
293-
294-
res = s.apis.delete_api(req)
279+
))
295280

296281
if res is not None:
297282
# handle response
@@ -327,14 +312,11 @@ s = speakeasy.Speakeasy(
327312
security=shared.Security(
328313
api_key="<YOUR_API_KEY_HERE>",
329314
),
330-
workspace_id='<value>',
331315
)
332316

333-
req = operations.GetWorkspaceEventsByTargetRequest(
317+
res = s.events.get_workspace_events_by_target(request=operations.GetWorkspaceEventsByTargetRequest(
334318
target_id='<value>',
335-
)
336-
337-
res = s.events.get_workspace_events_by_target(req)
319+
))
338320

339321
if res.cli_event_batch is not None:
340322
# handle response
@@ -358,12 +340,9 @@ s = speakeasy.Speakeasy(
358340
security=shared.Security(
359341
api_key="<YOUR_API_KEY_HERE>",
360342
),
361-
workspace_id='<value>',
362343
)
363344

364-
req = operations.GetWorkspaceAccessRequest()
365-
366-
res = s.auth.get_workspace_access(req,
345+
res = s.auth.get_workspace_access(request=operations.GetWorkspaceAccessRequest(),
367346
RetryConfig('backoff', BackoffStrategy(1, 50, 1.1, 100), False))
368347

369348
if res.access_details is not None:
@@ -383,12 +362,9 @@ s = speakeasy.Speakeasy(
383362
security=shared.Security(
384363
api_key="<YOUR_API_KEY_HERE>",
385364
),
386-
workspace_id='<value>',
387365
)
388366

389-
req = operations.GetWorkspaceAccessRequest()
390-
391-
res = s.auth.get_workspace_access(req)
367+
res = s.auth.get_workspace_access(request=operations.GetWorkspaceAccessRequest())
392368

393369
if res.access_details is not None:
394370
# handle response

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,4 +1526,14 @@ Based on:
15261526
### Generated
15271527
- [python v5.7.1] .
15281528
### Releases
1529-
- [PyPI v5.7.1] https://pypi.org/project/speakeasy-client-sdk-python/5.7.1 - .
1529+
- [PyPI v5.7.1] https://pypi.org/project/speakeasy-client-sdk-python/5.7.1 - .
1530+
1531+
## 2024-05-09 00:10:54
1532+
### Changes
1533+
Based on:
1534+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
1535+
- Speakeasy CLI 1.285.1 (2.326.3) https://github.com/speakeasy-api/speakeasy
1536+
### Generated
1537+
- [python v5.8.0] .
1538+
### Releases
1539+
- [PyPI v5.8.0] https://pypi.org/project/speakeasy-client-sdk-python/5.8.0 - .

USAGE.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ s = speakeasy.Speakeasy(
77
security=shared.Security(
88
api_key="<YOUR_API_KEY_HERE>",
99
),
10-
workspace_id='<value>',
1110
)
1211

13-
req = operations.GetApisRequest()
14-
15-
res = s.apis.get_apis(req)
12+
res = s.apis.get_apis(request=operations.GetApisRequest())
1613

1714
if res.apis is not None:
1815
# handle response

docs/models/shared/clievent.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
| `generate_config_pre_checksum` | *Optional[str]* | :heavy_minus_sign: | Checksum of the configuration file (prior to generation) |
2626
| `generate_config_pre_raw` | *Optional[str]* | :heavy_minus_sign: | Rendered configuration file (prior to generation) |
2727
| `generate_config_pre_version` | *Optional[str]* | :heavy_minus_sign: | The version of the customer's SDK before we generated |
28+
| `generate_eligible_features` | *Optional[str]* | :heavy_minus_sign: | Eligible feature set during generation |
2829
| `generate_gen_lock_id` | *Optional[str]* | :heavy_minus_sign: | gen.lock ID (expected to be a uuid). |
2930
| `generate_gen_lock_post_features` | *Optional[str]* | :heavy_minus_sign: | Features post generation |
3031
| `generate_gen_lock_pre_blob_digest` | *Optional[str]* | :heavy_minus_sign: | Blob digest of the Previous Generation |
@@ -34,13 +35,16 @@
3435
| `generate_gen_lock_pre_namespace_name` | *Optional[str]* | :heavy_minus_sign: | Namespace name of the Previous Generation |
3536
| `generate_gen_lock_pre_revision_digest` | *Optional[str]* | :heavy_minus_sign: | Revision digest of the Previous Generation |
3637
| `generate_gen_lock_pre_version` | *Optional[str]* | :heavy_minus_sign: | Artifact version for the Previous Generation |
38+
| `generate_number_of_operations_ignored` | *Optional[int]* | :heavy_minus_sign: | The number of operations ignored in generation. |
39+
| `generate_number_of_operations_used` | *Optional[int]* | :heavy_minus_sign: | The number of operations used in generation. |
3740
| `generate_output_tests` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether tests were output. |
3841
| `generate_published` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the target was considered published. |
3942
| `generate_repo_url` | *Optional[str]* | :heavy_minus_sign: | Expected Repo URL, for use in documentation generation. |
4043
| `generate_target` | *Optional[str]* | :heavy_minus_sign: | The target of the event. |
4144
| `generate_target_version` | *Optional[str]* | :heavy_minus_sign: | The version of the target. |
4245
| `generate_version` | *Optional[str]* | :heavy_minus_sign: | Version of the generation logic used. |
4346
| `gh_action_organization` | *Optional[str]* | :heavy_minus_sign: | GitHub organization of the action. |
47+
| `gh_action_ref` | *Optional[str]* | :heavy_minus_sign: | GitHub Action ref value. |
4448
| `gh_action_repository` | *Optional[str]* | :heavy_minus_sign: | GitHub repository of the action. |
4549
| `gh_action_run_link` | *Optional[str]* | :heavy_minus_sign: | Link to the GitHub action run. |
4650
| `gh_action_version` | *Optional[str]* | :heavy_minus_sign: | Version of the GitHub action. |

docs/models/shared/targetsdk.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
| `continuous_integration_environment` | *Optional[str]* | :heavy_minus_sign: | Name of the CI environment. |
1616
| `error` | *Optional[str]* | :heavy_minus_sign: | Error message if the last event was not successful. |
1717
| `generate_config_post_version` | *Optional[str]* | :heavy_minus_sign: | Version of the generated target (post generation) |
18+
| `generate_eligible_features` | *Optional[str]* | :heavy_minus_sign: | Eligible feature set during generation |
1819
| `generate_gen_lock_pre_features` | *Optional[str]* | :heavy_minus_sign: | Features prior to generation |
1920
| `generate_gen_lock_pre_version` | *Optional[str]* | :heavy_minus_sign: | Artifact version for the Previous Generation |
21+
| `generate_number_of_operations_ignored` | *Optional[int]* | :heavy_minus_sign: | The number of operations ignored in generation. |
22+
| `generate_number_of_operations_used` | *Optional[int]* | :heavy_minus_sign: | The number of operations used in generation. |
2023
| `generate_published` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the target was considered published. |
2124
| `generate_target_name` | *Optional[str]* | :heavy_minus_sign: | The name of the target as defined by the user. |
2225
| `generate_target_version` | *Optional[str]* | :heavy_minus_sign: | The version of the Speakeasy generator for this target eg v2 of the typescript generator. |
2326
| `gh_action_organization` | *Optional[str]* | :heavy_minus_sign: | GitHub organization of the action. |
27+
| `gh_action_ref` | *Optional[str]* | :heavy_minus_sign: | GitHub Action ref value. |
2428
| `gh_action_repository` | *Optional[str]* | :heavy_minus_sign: | GitHub repository of the action. |
2529
| `gh_action_run_link` | *Optional[str]* | :heavy_minus_sign: | Link to the GitHub action run. |
2630
| `gh_action_version` | *Optional[str]* | :heavy_minus_sign: | Version of the GitHub action. |

0 commit comments

Comments
 (0)