Repository navigation
chore: 🐝 Update SDK - Generate 3.4.9 - #72
github-actions[bot] wants to merge 1 commit into
Conversation
* `latitudesh.virtual_machines.create()`: `request.x_correlation_id` **Removed** (Breaking⚠️ ) * `latitudesh.virtual_machines.list()`: `request.x_correlation_id` **Removed** (Breaking⚠️ ) * `latitudesh.virtual_machines.update_virtual_machine()`: `request.x_correlation_id` **Removed** (Breaking⚠️ ) * `latitudesh.inference.get_inference_endpoints()`: **Added** * `latitudesh.inference.post_inference_endpoint()`: **Added** * `latitudesh.inference.get_inference_endpoint()`: **Added** * `latitudesh.inference.delete_inference_endpoint()`: **Added** * `latitudesh.inference.patch_inference_endpoint()`: **Added** * `latitudesh.object_storage.get_storage_buckets()`: `response.meta.stats` **Added** * `latitudesh.filesystem_storage.list_filesystems()`: `response.meta.stats` **Added** * `latitudesh.block_storage.list_volumes()`: `response.meta.stats` **Added**
| if len(results[0]) < limit_: | ||
| return None | ||
|
|
||
| return self.get_inference_endpoints( |
There was a problem hiding this comment.
When get_inference_endpoints_async() returns a full page, res.next() calls the synchronous get_inference_endpoints(). This bypasses the caller's async_client and blocks the event loop during the next request. If the custom async client has required connection settings, page one works but later requests can fail.
Make the continuation awaitable, call get_inference_endpoints_async(), and update the response type to match.
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/latitudesh_python_sdk/inference.py
Line: 1238
Comment:
**Later pages switch clients**
When `get_inference_endpoints_async()` returns a full page, `res.next()` calls the synchronous `get_inference_endpoints()`. This bypasses the caller's `async_client` and blocks the event loop during the next request. If the custom async client has required connection settings, page one works but later requests can fail.
Make the continuation awaitable, call `get_inference_endpoints_async()`, and update the response type to match.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.| "KeyFormat": ".object_storage_payload", | ||
| "ObjectStoragePayload": ".object_storage_payload", | ||
| "ObjectStoragePayloadAttributes": ".object_storage_payload", | ||
| "ObjectStoragePayloadAttributesTypedDict": ".object_storage_payload", | ||
| "ObjectStoragePayloadBucketLogging": ".object_storage_payload", | ||
| "ObjectStoragePayloadBucketLoggingTypedDict": ".object_storage_payload", | ||
| "ObjectStoragePayloadData": ".object_storage_payload", | ||
| "ObjectStoragePayloadDataTypedDict": ".object_storage_payload", | ||
| "ObjectStoragePayloadRetentionMode": ".object_storage_payload", | ||
| "ObjectStoragePayloadStorageClass": ".object_storage_payload", | ||
| "ObjectStoragePayloadType": ".object_storage_payload", |
There was a problem hiding this comment.
This patch removes public storage model names without compatibility aliases. Existing code such as from latitudesh_python_sdk.models import PostStorageBucketsObjectStorageData now fails before making a request. Access-key and lifecycle-rule models have the same problem.
Keep the old names as aliases to the new models so upgrading from 3.4.8 to 3.4.9 does not break existing callers.
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/latitudesh_python_sdk/models/__init__.py
Line: 6525-6535
Comment:
**Storage model imports fail**
This patch removes public storage model names without compatibility aliases. Existing code such as `from latitudesh_python_sdk.models import PostStorageBucketsObjectStorageData` now fails before making a request. Access-key and lifecycle-rule models have the same problem.
Keep the old names as aliases to the new models so upgrading from `3.4.8` to `3.4.9` does not break existing callers.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
SDK update
Versioning
Version Bump Type: [patch] - 🤖 (automated)
Tip
If updates to your OpenAPI document introduce breaking changes, be sure to update the
info.versionfield to trigger the correct version bump.Speakeasy supports manual control of SDK versioning through multiple methods.
Python SDK Changes:
latitudesh.virtual_machines.create():request.x_correlation_idRemoved (Breakinglatitudesh.virtual_machines.list():request.x_correlation_idRemoved (Breakinglatitudesh.virtual_machines.update_virtual_machine():request.x_correlation_idRemoved (Breakinglatitudesh.inference.get_inference_endpoints(): Addedlatitudesh.inference.post_inference_endpoint(): Addedlatitudesh.inference.get_inference_endpoint(): Addedlatitudesh.inference.delete_inference_endpoint(): Addedlatitudesh.inference.patch_inference_endpoint(): Addedlatitudesh.object_storage.get_storage_buckets():response.meta.statsAddedlatitudesh.filesystem_storage.list_filesystems():response.meta.statsAddedlatitudesh.block_storage.list_volumes():response.meta.statsAddedView full SDK changelog
OpenAPI Change Summary
View full report
Linting Report
0 errors, 0 warnings, 149 hintsView full report
PYTHON CHANGELOG
No relevant generator changes
Based on Speakeasy CLI 1.813.1
Last updated by Speakeasy workflow
The PR should not merge until the existing async pagination and storage import failures are fixed.
Summary
Updates the SDK to
3.4.9.github-actions[bot]explicitly identifies removal ofx_correlation_idas an intended breaking change in the PR description.Reviews (2) · Last reviewed commit: "## Python SDK Changes:" · Reviewed by Greptile