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.
Files changed (11) hide show
  1. {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/PKG-INFO +1 -1
  2. {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/pyproject.toml +1 -1
  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/_meta.py +3 -3
  4. {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
  5. {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/LICENSE.md +0 -0
  6. {unikraft_cloud_plugin_sandbox_api-1.5.0.dev1 → unikraft_cloud_plugin_sandbox_api-1.5.0.dev3}/README.md +0 -0
  7. {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
  8. {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
  9. {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
  10. {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
  11. {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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unikraft-cloud-plugin-sandbox-api
3
- Version: 1.5.0.dev1
3
+ Version: 1.5.0.dev3
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.5.0.dev1"
3
+ version = "1.5.0.dev3"
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.5.0.dev1"
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 = "def4e9d2e457fafec7d289844fc65d4a9f1b73b20f13d48a356e0077893ceed5"
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 = "891a8a541cf8e5d6280c399f0b4ad7c6651b20ff55f6dac7c45252178ddf3d5a"
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,