Repository navigation
Daily Sync with Botocore v1.44.2 on 2026/11/12 - #6583
Conversation
There was a problem hiding this comment.
🤖 AI code review
Automated daily botocore sync (v1.44.2). The change regenerates service-2.json, resources.py, shapes.py, shape_dag.py, config_schema.py, and api_coverage.json, adding the new HyperPod ClusterExtension resource (create/get/refresh/update/delete), accelerator partition layout shapes, pipeline version aliases, and UserContext on hub/hub-content. The generated shape/DAG wiring is internally consistent. One functional concern: the generated ClusterExtension.update() calls self.refresh() with no arguments, but refresh() declares cluster_arn and extension_arn as required positional parameters, so update() would raise TypeError at runtime.
Reviewed commit 181caa5. Automated review; verify before acting.
| return BatchDeleteClusterNodesResponse(**transformed_response) | ||
|
|
||
|
|
||
| class ClusterExtension(Base): |
There was a problem hiding this comment.
🔴 High: In the new ClusterExtension class, update() ends with a call to self.refresh() with no arguments, but refresh(self, cluster_arn, extension_arn) declares both cluster_arn and extension_arn as required positional parameters (unlike other resources where refresh reads identifiers from self.<attr>). ClusterExtension only stores extension_details and node_summary as attributes, so there is no way for the no-arg self.refresh() to succeed — it will raise TypeError: refresh() missing 2 required positional arguments whenever update() is invoked. This looks like a codegen inconsistency for resources whose describe inputs aren't persisted as instance attributes; worth confirming the generator handles this (e.g., pass the known ARNs through or make the parameters optional and resolve from state) before merging.
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (51.75%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #6583 +/- ##
==========================================
+ Coverage 73.95% 74.07% +0.12%
==========================================
Files 579 579
Lines 72890 72959 +69
==========================================
+ Hits 53909 54048 +139
+ Misses 18981 18911 -70 🚀 New features to boost your workflow:
|
Daily sync with Botocore package. This PR is automatically generated by sagemaker-bot.