Commit 25283f1
committed
feat(sdk/python): surface cloud_vendor and cloud_product on InfoResponse
Expose the two AppInfo proto fields (15, 16) added on dstack OS >= 0.5.7
so Python callers can identify the cloud provider that hosts the CVM.
Both default to empty string for backward compatibility with older guest
agents that omit them.
Mirrors the JS SDK change in f5ad5be.1 parent 187868b commit 25283f1
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
0 commit comments