drukbox-python-sdk 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl

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.5
2
2
  Name: drukbox-python-sdk
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: Async Python client for Drukbox.
5
5
  Project-URL: Homepage, https://github.com/clawhaven/drukbox-python-sdk
6
6
  Project-URL: Repository, https://github.com/clawhaven/drukbox-python-sdk
@@ -0,0 +1,7 @@
1
+ drukbox_sdk/__init__.py,sha256=OgssAANGnl49_1N_EKMXSDlgWfedO9jUAnLVxgkJY2Q,1066
2
+ drukbox_sdk/api.py,sha256=z-Sjh_rdqIFpMgzfG7_RktxbH6wS8rToHfy0B8FNZkI,24668
3
+ drukbox_sdk/exceptions.py,sha256=0CKbb0Ec4RSWPB8t31WJgO1yQQ10BwTPqoqS1_EieB4,2599
4
+ drukbox_python_sdk-0.5.0.dist-info/METADATA,sha256=mrbJKSw-RuyIXSPaxtKn6DDYqP9Y7IBlw0NvLetTL-0,6734
5
+ drukbox_python_sdk-0.5.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
6
+ drukbox_python_sdk-0.5.0.dist-info/licenses/LICENSE,sha256=zM66rWL3BWGJBa_mZPnM0WUomSSZ1xtWVtGQovQ71M8,1078
7
+ drukbox_python_sdk-0.5.0.dist-info/RECORD,,
drukbox_sdk/api.py CHANGED
@@ -198,7 +198,8 @@ class DoctorReport:
198
198
 
199
199
  ok: bool
200
200
  active_provider: str
201
- tailscale_enabled: bool
201
+ # Whether the active provider's hosts join the tailnet.
202
+ tailnet: bool
202
203
  checks: list[DoctorCheck]
203
204
 
204
205
 
@@ -490,7 +491,8 @@ class SandboxAPI:
490
491
  return DoctorReport(
491
492
  ok=data["ok"],
492
493
  active_provider=data["active_provider"],
493
- tailscale_enabled=data["tailscale_enabled"],
494
+ # drukbox before "Join the tailnet per provider" sent tailscale_enabled.
495
+ tailnet=data["tailnet"] if "tailnet" in data else data["tailscale_enabled"],
494
496
  checks=[DoctorCheck(**check) for check in data["checks"]],
495
497
  )
496
498
 
@@ -1,7 +0,0 @@
1
- drukbox_sdk/__init__.py,sha256=OgssAANGnl49_1N_EKMXSDlgWfedO9jUAnLVxgkJY2Q,1066
2
- drukbox_sdk/api.py,sha256=Xd_UhCYsE_kRojDEBIacHGHrOB2msDHfrE1WfOBbOBc,24501
3
- drukbox_sdk/exceptions.py,sha256=0CKbb0Ec4RSWPB8t31WJgO1yQQ10BwTPqoqS1_EieB4,2599
4
- drukbox_python_sdk-0.4.0.dist-info/METADATA,sha256=kFilTF-v_ongltIWRUJrc1TLboG29gWCLCwABTPTmGo,6734
5
- drukbox_python_sdk-0.4.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
6
- drukbox_python_sdk-0.4.0.dist-info/licenses/LICENSE,sha256=zM66rWL3BWGJBa_mZPnM0WUomSSZ1xtWVtGQovQ71M8,1078
7
- drukbox_python_sdk-0.4.0.dist-info/RECORD,,