[SDK] Add Dynamo deployment support; bump platform-api-python-client to 4.23.1 - #146
Merged
Conversation
Contributor
Author
|
Live production SDK smoke validation completed on 2026-07-30:
No test deployment or GPU allocation remains. |
michaelshin
reviewed
Jul 30, 2026
| """Create and inspect a fixed-replica NVIDIA Dynamo deployment. | ||
|
|
||
| Run `centml login` or configure service-account credentials first. This example | ||
| creates a billable GPU deployment and intentionally leaves cleanup to the user. |
Contributor
There was a problem hiding this comment.
nit: you don't need to mention billable since we don't charge credit. maybe more that it's active
michaelshin
reviewed
Jul 30, 2026
| from centml.sdk.api import get_centml_client | ||
|
|
||
|
|
||
| def required_env(name: str) -> str: |
Contributor
There was a problem hiding this comment.
Maybe a future TODO to make this function shared so we can enforce better env var checks
Contributor
Author
There was a problem hiding this comment.
make sense. for now as an example script this should be fine (allowing doc-reader to copy and paste from single file).
michaelshin
reviewed
Jul 30, 2026
|
|
||
| Use `python examples/sdk/get_clusters.py` and | ||
| `python examples/sdk/manage_hardware_instances.py` to discover the required IDs. | ||
| Creating the example reserves GPU capacity and may incur usage charges. It does not |
Contributor
There was a problem hiding this comment.
nit: also here too for billing
michaelshin
approved these changes
Jul 30, 2026
Contributor
|
I like the more generic approach rather than hardcoding the cluster id/hardware id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
platform-api-python-clientto 4.23.1, the generated client release containing Dynamo APIsclient.delete(id)lifecycle helperValidation
pytest(63 passed)examples/sdk/validate_auth.pycall against the Platform API