unikraft-cloud-plugin-sandbox-api 1.5.0.dev1__tar.gz → 1.5.0.dev3__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.
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/PKG-INFO +1 -1
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/pyproject.toml +1 -1
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/_meta.py +3 -3
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/models_gen.py +6 -1
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/LICENSE.md +0 -0
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/README.md +0 -0
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/__init__.py +0 -0
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/commands_gen.py +0 -0
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/fs_gen.py +0 -0
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/py.typed +0 -0
- {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/src/unikraft_cloud_plugin_sandbox_api/transport.py +0 -0
|
@@ -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.5.0.
|
|
8
|
+
VERSION = "1.5.0.dev3"
|
|
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 = "
|
|
14
|
+
SPEC_HASH = "d66f7dd900a2b005d55df9c7a6fdeb80fb2ce5bacac2a2cd82848c5d2596afdf"
|
|
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 = "
|
|
20
|
+
CONFIG_HASH = "3dcb0b28dc1ecf6fc8ba8f873684e7fe8188d2351f645d412ee71bd0ea072f98"
|
|
@@ -398,12 +398,17 @@ class ReadFileRequest(BaseModel):
|
|
|
398
398
|
|
|
399
399
|
path: str
|
|
400
400
|
"""The absolute path of the file to read."""
|
|
401
|
+
max_size: int | None = None
|
|
402
|
+
"""
|
|
403
|
+
(OPTIONAL) The most bytes the file may hold. A larger file is not read,
|
|
404
|
+
and `413` is returned. Any size by default.
|
|
405
|
+
"""
|
|
401
406
|
|
|
402
407
|
|
|
403
408
|
class ReadFileResponse(BaseModel):
|
|
404
409
|
"""
|
|
405
410
|
The response to reading a file. `500` is returned when the file could not be
|
|
406
|
-
read
|
|
411
|
+
read, and `413` when it is over `max_size`.
|
|
407
412
|
"""
|
|
408
413
|
|
|
409
414
|
# Fields the specification does not describe are kept rather than dropped,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|