From 26ee0f23c8e6088a882d382dfcb373c689b3fdfe Mon Sep 17 00:00:00 2001 From: porter-support Date: Wed, 29 Jul 2026 20:37:57 +0000 Subject: [PATCH] release: Python SDK v0.1.41 --- porter_sandbox/volume.py | 16 ++++++++++++++++ pyproject.toml | 2 +- uv.lock | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/porter_sandbox/volume.py b/porter_sandbox/volume.py index bb52383..1dc062c 100644 --- a/porter_sandbox/volume.py +++ b/porter_sandbox/volume.py @@ -94,6 +94,14 @@ def name(self) -> str: def phase(self) -> VolumePhase: return self._record.phase + @property + def path(self) -> str: + """Subdirectory, relative to the shared sandbox volumes mount, where this + volume's data lives. An app that mounts the cluster's sandbox volumes + reads this volume at `/`. + """ + return self._record.path + @property def attached_to(self) -> builtins.list[str]: """IDs of the sandboxes the volume is attached to.""" @@ -239,6 +247,14 @@ def name(self) -> str: def phase(self) -> VolumePhase: return self._record.phase + @property + def path(self) -> str: + """Subdirectory, relative to the shared sandbox volumes mount, where this + volume's data lives. An app that mounts the cluster's sandbox volumes + reads this volume at `/`. + """ + return self._record.path + @property def attached_to(self) -> builtins.list[str]: """IDs of the sandboxes the volume is attached to.""" diff --git a/pyproject.toml b/pyproject.toml index b8b027a..b3604bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "porter-sandbox" -version = "0.1.35" +version = "0.1.41" description = "Python SDK for the Porter Sandbox API" readme = "README.md" requires-python = ">=3.10" diff --git a/uv.lock b/uv.lock index 02ad474..7e91466 100644 --- a/uv.lock +++ b/uv.lock @@ -345,7 +345,7 @@ wheels = [ [[package]] name = "porter-sandbox" -version = "0.1.35" +version = "0.1.41" source = { editable = "." } dependencies = [ { name = "httpx" },