runtime-sdk 0.4.30__tar.gz → 0.4.32__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runtime-sdk
3
- Version: 0.4.30
3
+ Version: 0.4.32
4
4
  Summary: Runtime Python SDK and CLI
5
5
  Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
6
6
  Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "runtime-sdk"
3
- version = "0.4.30"
3
+ version = "0.4.32"
4
4
  description = "Runtime Python SDK and CLI"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -949,7 +949,9 @@ def _computer_status_label(c: dict[str, Any]) -> str:
949
949
  return power
950
950
  if power == "warm" and internal == "running":
951
951
  return power
952
- return f"{power}/{internal}"
952
+ if internal in {"creating", "archiving", "restoring", "orphaned"}:
953
+ return internal
954
+ return power
953
955
 
954
956
 
955
957
 
@@ -2109,7 +2111,7 @@ def handle_create(
2109
2111
  except RuntimeAPIError as exc:
2110
2112
  if exc.status_code == 409 and "slug already in use" in str(exc) and name:
2111
2113
  return report_error(
2112
- f"computer name {name!r} is already in use. Names become public URL slugs and must be unique across active and cold computers. Pick it from `runtime list`, delete it, or choose a different name.",
2114
+ f"computer name {name!r} is already in use. Names become public URL slugs and must be globally unique across active and cold computers. If it is yours, pick it from `runtime list` or delete it; otherwise choose a different name.",
2113
2115
  status_code=exc.status_code,
2114
2116
  )
2115
2117
  raise
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runtime-sdk
3
- Version: 0.4.30
3
+ Version: 0.4.32
4
4
  Summary: Runtime Python SDK and CLI
5
5
  Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
6
6
  Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
File without changes
File without changes