unikraft-cloud-plugin-sandbox-api 1.4.1.dev0__tar.gz → 1.5.0.dev2__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.
Files changed (11) hide show
  1. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/PKG-INFO +1 -1
  2. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/pyproject.toml +1 -1
  3. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/_meta.py +3 -3
  4. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/commands_gen.py +22 -0
  5. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/LICENSE.md +0 -0
  6. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/README.md +0 -0
  7. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/__init__.py +0 -0
  8. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/fs_gen.py +0 -0
  9. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/models_gen.py +0 -0
  10. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/py.typed +0 -0
  11. {unikraft_cloud_plugin_sandbox_api-1.4.1.dev0 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev2}/src/unikraft_cloud_plugin_sandbox_api/transport.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unikraft-cloud-plugin-sandbox-api
3
- Version: 1.4.1.dev0
3
+ Version: 1.5.0.dev2
4
4
  Summary: Generated Python client for the Unikraft Cloud `sandbox` plugin API
5
5
  Keywords: unikraft,unikraft-cloud,plugin,sandbox,sdk
6
6
  Author: Unikraft GmbH
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "unikraft-cloud-plugin-sandbox-api"
3
- version = "1.4.1.dev0"
3
+ version = "1.5.0.dev2"
4
4
  description = "Generated Python client for the Unikraft Cloud `sandbox` plugin API"
5
5
  readme = "README.md"
6
6
  license = "BSD-3-Clause"
@@ -5,16 +5,16 @@
5
5
  # can tell a rebuild of the same sources from a change under the same version.
6
6
 
7
7
  #: The version this package was published as.
8
- VERSION = "1.4.1.dev0"
8
+ VERSION = "1.5.0.dev2"
9
9
 
10
10
  #: The oldest unikraft-cloud SDK whose ApiClient is a transport for this package.
11
11
  SDK_MIN = "0.2.0"
12
12
 
13
13
  #: SHA-256 of the OpenAPI specification.
14
- SPEC_HASH = "3cc81a908b4ef17924beb38e77276ad003e4b9214d6829b7cbb67cc00bd22db4"
14
+ SPEC_HASH = "def4e9d2e457fafec7d289844fc65d4a9f1b73b20f13d48a356e0077893ceed5"
15
15
 
16
16
  #: SHA-256 over the generator's templates and static files.
17
17
  TEMPLATES_HASH = "5efe373fc719c482bc42cc6ff89c27852a6bfef78c9e6d841a1f21eab2f97859"
18
18
 
19
19
  #: SHA-256 over the generation configuration: the SDK floor and the generator.
20
- CONFIG_HASH = "891a8a541cf8e5d6280c399f0b4ad7c6651b20ff55f6dac7c45252178ddf3d5a"
20
+ CONFIG_HASH = "7002fa7994b329617daa1166f6689bcbe09391efc78beec652d0410150969d60"
@@ -46,6 +46,28 @@ class CommandsApi:
46
46
  **options,
47
47
  )
48
48
 
49
+ async def follow_command(
50
+ self,
51
+ uuid: str,
52
+ *,
53
+ stdout: int | None = None,
54
+ stderr: int | None = None,
55
+ release: bool | None = None,
56
+ **options: Unpack[CallOptions],
57
+ ) -> models.EmptyResponse:
58
+ """Follow Command"""
59
+ return await self.transport.request(
60
+ models.EmptyResponse,
61
+ method="GET",
62
+ path=f"/commands/{quote(uuid, safe='')}/ws",
63
+ query={
64
+ "stdout": stdout,
65
+ "stderr": stderr,
66
+ "release": release,
67
+ },
68
+ **options,
69
+ )
70
+
49
71
  async def get_command_by_uuid(
50
72
  self,
51
73
  uuid: str,