drukbox-python-sdk 0.0.2__tar.gz → 0.0.3__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: drukbox-python-sdk
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Async Python client for Drukbox.
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: httpx>=0.28
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "drukbox-python-sdk"
7
- version = "0.0.2"
7
+ version = "0.0.3"
8
8
  description = "Async Python client for Drukbox."
9
9
  readme = "README.md"
10
10
  # Tracks the lowest Python any current consumer supports. Bump only
@@ -86,6 +86,7 @@ class SandboxHost:
86
86
  image: str
87
87
  external_ssh_host: str
88
88
  external_ssh_port: int
89
+ ssh_username: str
89
90
  internal_ssh_host: str | None
90
91
  known_hosts: str
91
92
  tailscale_device_id: str | None
@@ -46,6 +46,7 @@ def _host_payload(**overrides: Any) -> dict[str, Any]:
46
46
  "image": "ghcr.io/drukbox/sandbox:test",
47
47
  "external_ssh_host": "203.0.113.42",
48
48
  "external_ssh_port": 22,
49
+ "ssh_username": "exedev",
49
50
  "internal_ssh_host": "host-abc.example.ts.net",
50
51
  "known_hosts": "ssh-ed25519 AAAA...\n",
51
52
  "tailscale_device_id": None,
@@ -103,6 +104,7 @@ async def test_create_host_posts_payload_and_returns_parsed_host(api: SandboxAPI
103
104
  assert host.id == payload["id"]
104
105
  assert host.external_ssh_host == payload["external_ssh_host"]
105
106
  assert host.external_ssh_port == payload["external_ssh_port"]
107
+ assert host.ssh_username == payload["ssh_username"]
106
108
  assert host.internal_ssh_host == payload["internal_ssh_host"]
107
109
  assert host.tailscale_device_id is None
108
110
  assert host.activated_at is None