voidrun 0.1.0__tar.gz → 0.2.1__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.
- {voidrun-0.1.0 → voidrun-0.2.1}/PKG-INFO +26 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/README.md +25 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/pyproject.toml +1 -1
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/execution_api.py +1 -2
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/file_system_api.py +9 -10
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/images_api.py +4 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/organizations_api.py +1 -2
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/sandboxes_api.py +55 -303
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/system_api.py +1 -2
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/users_api.py +1 -2
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api_client.py +32 -23
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/configuration.py +60 -25
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/exceptions.py +1 -2
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/activate_api_key_request.py +5 -4
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/api_key_response.py +10 -9
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/api_response_sandbox.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/api_response_sandboxes_list.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/api_response_sandboxes_list_meta.py +8 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/command_kill_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/command_list_response.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/command_run_response.py +8 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/command_wait_response.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/compress_request.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_file_request.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_image_request.py +8 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_pty_session200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_pty_session200_response_all_of_data.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_pty_session_request.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_sandbox201_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/create_sandbox_request.py +22 -17
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/disk_usage.py +5 -4
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/error_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/exec_request.py +9 -8
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/exec_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/exec_response_data.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/execute_in_session_request.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/extract_request.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/file_event.py +9 -8
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/file_info.py +9 -8
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/file_stats.py +4 -3
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/generate_api_key_request.py +7 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/generated_api_key_response.py +9 -8
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_current_user200_response.py +8 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_current_user200_response_orgs_inner.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_org_users200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_org_users200_response_all_of_data_inner.py +8 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_pty_buffer200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_pty_buffer200_response_all_of_data.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/get_version200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/image.py +12 -11
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/kill_background_process_request.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/list_files200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/list_files200_response_data.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/list_pty_sessions200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/list_pty_sessions200_response_all_of_data.py +4 -3
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/organization.py +9 -8
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/process_info.py +8 -7
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/pty_session_info.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/resize_terminal_request.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/run_background_command_request.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/sandbox.py +26 -20
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/session_exec_request.py +11 -10
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/session_exec_response.py +9 -8
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/session_exec_stream_request.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/start_watch200_response.py +7 -6
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/start_watch200_response_data.py +5 -4
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/start_watch_request.py +5 -4
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/success_response.py +6 -5
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/rest.py +54 -4
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/client.py +24 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/sandbox.py +54 -42
- {voidrun-0.1.0 → voidrun-0.2.1}/.gitignore +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/scripts/run_all_examples.sh +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/__init__.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/__init__.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api/__init__.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/api_response.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/models/__init__.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/api_client/py.typed +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/commands.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/constants.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/fs.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/interpreter.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/pty.py +0 -0
- {voidrun-0.1.0 → voidrun-0.2.1}/voidrun/response.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: voidrun
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Python SDK for VoidRun AI Sandbox
|
|
5
5
|
Project-URL: Homepage, https://voidrun.io
|
|
6
6
|
Project-URL: Documentation, https://docs.voidrun.io
|
|
@@ -55,7 +55,7 @@ The high-level API is aligned with the official **TypeScript SDK** (`create_sand
|
|
|
55
55
|
|
|
56
56
|
## Features
|
|
57
57
|
|
|
58
|
-
- **Sandbox lifecycle**: Create, list, fetch, start/stop/pause
|
|
58
|
+
- **Sandbox lifecycle**: Create, list, fetch, start/sleep/wake (stop/pause→sleep, resume→wake), and remove sandboxes (sync and async).
|
|
59
59
|
- **Shell execution**: synchronous `exec` with optional `ExecRequest` (no `background` flag); SSE streaming via `exec_stream`; detached processes via `.commands.run`.
|
|
60
60
|
- **Code interpreter**: `run_code` / `interpreter.run` return a structured **`CodeExecutionResult`** (stdout, stderr, success, exit_code, results, logs).
|
|
61
61
|
- **Files**: Create, upload, download, list, move, copy, compress, extract, permissions, search, disk usage.
|
|
@@ -130,15 +130,33 @@ from voidrun import VoidRun
|
|
|
130
130
|
|
|
131
131
|
vr = VoidRun() # uses VR_API_KEY; default base URL unless VR_API_URL / API_URL is set
|
|
132
132
|
|
|
133
|
-
sandbox = vr.create_sandbox(
|
|
133
|
+
sandbox = vr.create_sandbox(
|
|
134
|
+
mem=1024,
|
|
135
|
+
cpu=1,
|
|
136
|
+
labels={"env": "prod", "team": "api"},
|
|
137
|
+
publish_ports=[8080], # expose ports as public URLs (set at create time only)
|
|
138
|
+
)
|
|
134
139
|
|
|
135
140
|
result = sandbox.exec('echo "Hello from VoidRun"')
|
|
136
141
|
# Exec returns VoidRunResponse whose .data is ExecResponseData
|
|
137
142
|
print(result.data.stdout)
|
|
143
|
+
print(sandbox.labels)
|
|
144
|
+
print(sandbox.publish_ports)
|
|
145
|
+
|
|
146
|
+
# Public URLs are only available for ports declared at creation
|
|
147
|
+
print(sandbox.get_public_urls())
|
|
148
|
+
|
|
149
|
+
listed = vr.list_sandboxes(labels={"env": "prod"})
|
|
150
|
+
print(listed.meta.total)
|
|
138
151
|
|
|
139
152
|
sandbox.remove()
|
|
140
153
|
```
|
|
141
154
|
|
|
155
|
+
`publish_ports` (alias `publishPorts`) must be set at creation to expose ports
|
|
156
|
+
as public HTTPS URLs. Pass up to **4** ports (each `1–65535`, no duplicates);
|
|
157
|
+
the created sandbox echoes them on `sandbox.publish_ports`. Ports not published
|
|
158
|
+
at creation are not reachable via `get_public_urls()`.
|
|
159
|
+
|
|
142
160
|
### Async
|
|
143
161
|
|
|
144
162
|
```python
|
|
@@ -194,9 +212,9 @@ Use the same mental model as `@voidrun/sdk` (or the internal TS client):
|
|
|
194
212
|
|
|
195
213
|
**Recommended methods**
|
|
196
214
|
|
|
197
|
-
- `create_sandbox(...)` → `Sandbox`
|
|
215
|
+
- `create_sandbox(...)` → `Sandbox` (optional `labels=`, `publish_ports=`)
|
|
198
216
|
- `get_sandbox(sandbox_id)` → `Sandbox`
|
|
199
|
-
- `list_sandboxes(page=..., limit=...)` → `ListSandboxesResult`
|
|
217
|
+
- `list_sandboxes(page=..., limit=..., labels=...)` → `ListSandboxesResult`
|
|
200
218
|
- `remove_sandbox(sandbox_id)` → `None`
|
|
201
219
|
|
|
202
220
|
`AsyncVoidRun` exposes the same names with `await` and provides `aclose()` (and `async with` support) to shut down the thread pool used for API calls.
|
|
@@ -207,7 +225,7 @@ Create options accept both snake_case and camelCase where noted in code (e.g. `e
|
|
|
207
225
|
|
|
208
226
|
### `Sandbox`
|
|
209
227
|
|
|
210
|
-
Notable attributes: `id`, `name`, `cpu`, `mem`, `org_id`, `status`, `env_vars`, `image`, `region`, `ref_id`, `auto_sleep`, `disk_mb`, `created_at`, `created_by`.
|
|
228
|
+
Notable attributes: `id`, `name`, `cpu`, `mem`, `org_id`, `status`, `env_vars`, `image`, `region`, `ref_id`, `auto_sleep`, `disk_mb`, `labels`, `publish_ports`, `created_at`, `created_by`.
|
|
211
229
|
|
|
212
230
|
Sub-clients:
|
|
213
231
|
|
|
@@ -218,7 +236,8 @@ Sub-clients:
|
|
|
218
236
|
|
|
219
237
|
Lifecycle:
|
|
220
238
|
|
|
221
|
-
- `start`, `
|
|
239
|
+
- `start`, `sleep`, `wake` (and `*_async` variants)
|
|
240
|
+
- `stop` / `pause` alias `sleep`; `resume` aliases `wake`
|
|
222
241
|
- `remove()` / `remove_async()`: delete sandbox on the API
|
|
223
242
|
- `delete()` / `delete_async()`: deprecated aliases for `remove`
|
|
224
243
|
|
|
@@ -31,7 +31,7 @@ The high-level API is aligned with the official **TypeScript SDK** (`create_sand
|
|
|
31
31
|
|
|
32
32
|
## Features
|
|
33
33
|
|
|
34
|
-
- **Sandbox lifecycle**: Create, list, fetch, start/stop/pause
|
|
34
|
+
- **Sandbox lifecycle**: Create, list, fetch, start/sleep/wake (stop/pause→sleep, resume→wake), and remove sandboxes (sync and async).
|
|
35
35
|
- **Shell execution**: synchronous `exec` with optional `ExecRequest` (no `background` flag); SSE streaming via `exec_stream`; detached processes via `.commands.run`.
|
|
36
36
|
- **Code interpreter**: `run_code` / `interpreter.run` return a structured **`CodeExecutionResult`** (stdout, stderr, success, exit_code, results, logs).
|
|
37
37
|
- **Files**: Create, upload, download, list, move, copy, compress, extract, permissions, search, disk usage.
|
|
@@ -106,15 +106,33 @@ from voidrun import VoidRun
|
|
|
106
106
|
|
|
107
107
|
vr = VoidRun() # uses VR_API_KEY; default base URL unless VR_API_URL / API_URL is set
|
|
108
108
|
|
|
109
|
-
sandbox = vr.create_sandbox(
|
|
109
|
+
sandbox = vr.create_sandbox(
|
|
110
|
+
mem=1024,
|
|
111
|
+
cpu=1,
|
|
112
|
+
labels={"env": "prod", "team": "api"},
|
|
113
|
+
publish_ports=[8080], # expose ports as public URLs (set at create time only)
|
|
114
|
+
)
|
|
110
115
|
|
|
111
116
|
result = sandbox.exec('echo "Hello from VoidRun"')
|
|
112
117
|
# Exec returns VoidRunResponse whose .data is ExecResponseData
|
|
113
118
|
print(result.data.stdout)
|
|
119
|
+
print(sandbox.labels)
|
|
120
|
+
print(sandbox.publish_ports)
|
|
121
|
+
|
|
122
|
+
# Public URLs are only available for ports declared at creation
|
|
123
|
+
print(sandbox.get_public_urls())
|
|
124
|
+
|
|
125
|
+
listed = vr.list_sandboxes(labels={"env": "prod"})
|
|
126
|
+
print(listed.meta.total)
|
|
114
127
|
|
|
115
128
|
sandbox.remove()
|
|
116
129
|
```
|
|
117
130
|
|
|
131
|
+
`publish_ports` (alias `publishPorts`) must be set at creation to expose ports
|
|
132
|
+
as public HTTPS URLs. Pass up to **4** ports (each `1–65535`, no duplicates);
|
|
133
|
+
the created sandbox echoes them on `sandbox.publish_ports`. Ports not published
|
|
134
|
+
at creation are not reachable via `get_public_urls()`.
|
|
135
|
+
|
|
118
136
|
### Async
|
|
119
137
|
|
|
120
138
|
```python
|
|
@@ -170,9 +188,9 @@ Use the same mental model as `@voidrun/sdk` (or the internal TS client):
|
|
|
170
188
|
|
|
171
189
|
**Recommended methods**
|
|
172
190
|
|
|
173
|
-
- `create_sandbox(...)` → `Sandbox`
|
|
191
|
+
- `create_sandbox(...)` → `Sandbox` (optional `labels=`, `publish_ports=`)
|
|
174
192
|
- `get_sandbox(sandbox_id)` → `Sandbox`
|
|
175
|
-
- `list_sandboxes(page=..., limit=...)` → `ListSandboxesResult`
|
|
193
|
+
- `list_sandboxes(page=..., limit=..., labels=...)` → `ListSandboxesResult`
|
|
176
194
|
- `remove_sandbox(sandbox_id)` → `None`
|
|
177
195
|
|
|
178
196
|
`AsyncVoidRun` exposes the same names with `await` and provides `aclose()` (and `async with` support) to shut down the thread pool used for API calls.
|
|
@@ -183,7 +201,7 @@ Create options accept both snake_case and camelCase where noted in code (e.g. `e
|
|
|
183
201
|
|
|
184
202
|
### `Sandbox`
|
|
185
203
|
|
|
186
|
-
Notable attributes: `id`, `name`, `cpu`, `mem`, `org_id`, `status`, `env_vars`, `image`, `region`, `ref_id`, `auto_sleep`, `disk_mb`, `created_at`, `created_by`.
|
|
204
|
+
Notable attributes: `id`, `name`, `cpu`, `mem`, `org_id`, `status`, `env_vars`, `image`, `region`, `ref_id`, `auto_sleep`, `disk_mb`, `labels`, `publish_ports`, `created_at`, `created_by`.
|
|
187
205
|
|
|
188
206
|
Sub-clients:
|
|
189
207
|
|
|
@@ -194,7 +212,8 @@ Sub-clients:
|
|
|
194
212
|
|
|
195
213
|
Lifecycle:
|
|
196
214
|
|
|
197
|
-
- `start`, `
|
|
215
|
+
- `start`, `sleep`, `wake` (and `*_async` variants)
|
|
216
|
+
- `stop` / `pause` alias `sleep`; `resume` aliases `wake`
|
|
198
217
|
- `remove()` / `remove_async()`: delete sandbox on the API
|
|
199
218
|
- `delete()` / `delete_async()`: deprecated aliases for `remove`
|
|
200
219
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
1
|
"""
|
|
4
2
|
VoidRun API
|
|
5
3
|
|
|
@@ -11,6 +9,7 @@
|
|
|
11
9
|
Do not edit the class manually.
|
|
12
10
|
""" # noqa: E501
|
|
13
11
|
|
|
12
|
+
|
|
14
13
|
import warnings
|
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
1
|
"""
|
|
4
2
|
VoidRun API
|
|
5
3
|
|
|
@@ -11,6 +9,7 @@
|
|
|
11
9
|
Do not edit the class manually.
|
|
12
10
|
""" # noqa: E501
|
|
13
11
|
|
|
12
|
+
|
|
14
13
|
import warnings
|
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
@@ -2146,7 +2145,7 @@ class FileSystemApi:
|
|
|
2146
2145
|
_content_type: Optional[StrictStr] = None,
|
|
2147
2146
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2148
2147
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2149
|
-
) ->
|
|
2148
|
+
) -> bytes:
|
|
2150
2149
|
"""Download file
|
|
2151
2150
|
|
|
2152
2151
|
Download a file from the sandbox
|
|
@@ -2187,7 +2186,7 @@ class FileSystemApi:
|
|
|
2187
2186
|
)
|
|
2188
2187
|
|
|
2189
2188
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2190
|
-
'200': "
|
|
2189
|
+
'200': "bytes",
|
|
2191
2190
|
'401': "ErrorResponse",
|
|
2192
2191
|
'404': "ErrorResponse",
|
|
2193
2192
|
}
|
|
@@ -2219,7 +2218,7 @@ class FileSystemApi:
|
|
|
2219
2218
|
_content_type: Optional[StrictStr] = None,
|
|
2220
2219
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2221
2220
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2222
|
-
) -> ApiResponse[
|
|
2221
|
+
) -> ApiResponse[bytes]:
|
|
2223
2222
|
"""Download file
|
|
2224
2223
|
|
|
2225
2224
|
Download a file from the sandbox
|
|
@@ -2260,7 +2259,7 @@ class FileSystemApi:
|
|
|
2260
2259
|
)
|
|
2261
2260
|
|
|
2262
2261
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2263
|
-
'200': "
|
|
2262
|
+
'200': "bytes",
|
|
2264
2263
|
'401': "ErrorResponse",
|
|
2265
2264
|
'404': "ErrorResponse",
|
|
2266
2265
|
}
|
|
@@ -2333,7 +2332,7 @@ class FileSystemApi:
|
|
|
2333
2332
|
)
|
|
2334
2333
|
|
|
2335
2334
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2336
|
-
'200': "
|
|
2335
|
+
'200': "bytes",
|
|
2337
2336
|
'401': "ErrorResponse",
|
|
2338
2337
|
'404': "ErrorResponse",
|
|
2339
2338
|
}
|
|
@@ -4814,7 +4813,7 @@ class FileSystemApi:
|
|
|
4814
4813
|
:param path: (required)
|
|
4815
4814
|
:type path: str
|
|
4816
4815
|
:param body: (required)
|
|
4817
|
-
:type body:
|
|
4816
|
+
:type body: bytes
|
|
4818
4817
|
:param _request_timeout: timeout setting for this request. If one
|
|
4819
4818
|
number provided, it will be total request
|
|
4820
4819
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4891,7 +4890,7 @@ class FileSystemApi:
|
|
|
4891
4890
|
:param path: (required)
|
|
4892
4891
|
:type path: str
|
|
4893
4892
|
:param body: (required)
|
|
4894
|
-
:type body:
|
|
4893
|
+
:type body: bytes
|
|
4895
4894
|
:param _request_timeout: timeout setting for this request. If one
|
|
4896
4895
|
number provided, it will be total request
|
|
4897
4896
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4968,7 +4967,7 @@ class FileSystemApi:
|
|
|
4968
4967
|
:param path: (required)
|
|
4969
4968
|
:type path: str
|
|
4970
4969
|
:param body: (required)
|
|
4971
|
-
:type body:
|
|
4970
|
+
:type body: bytes
|
|
4972
4971
|
:param _request_timeout: timeout setting for this request. If one
|
|
4973
4972
|
number provided, it will be total request
|
|
4974
4973
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
1
|
"""
|
|
4
2
|
VoidRun API
|
|
5
3
|
|
|
@@ -11,6 +9,7 @@
|
|
|
11
9
|
Do not edit the class manually.
|
|
12
10
|
""" # noqa: E501
|
|
13
11
|
|
|
12
|
+
|
|
14
13
|
import warnings
|
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
@@ -590,7 +589,7 @@ class ImagesApi:
|
|
|
590
589
|
) -> List[Image]:
|
|
591
590
|
"""List images
|
|
592
591
|
|
|
593
|
-
Get
|
|
592
|
+
Get active base images visible to the organization (inactive or superseded images are omitted)
|
|
594
593
|
|
|
595
594
|
:param _request_timeout: timeout setting for this request. If one
|
|
596
595
|
number provided, it will be total request
|
|
@@ -654,7 +653,7 @@ class ImagesApi:
|
|
|
654
653
|
) -> ApiResponse[List[Image]]:
|
|
655
654
|
"""List images
|
|
656
655
|
|
|
657
|
-
Get
|
|
656
|
+
Get active base images visible to the organization (inactive or superseded images are omitted)
|
|
658
657
|
|
|
659
658
|
:param _request_timeout: timeout setting for this request. If one
|
|
660
659
|
number provided, it will be total request
|
|
@@ -718,7 +717,7 @@ class ImagesApi:
|
|
|
718
717
|
) -> RESTResponseType:
|
|
719
718
|
"""List images
|
|
720
719
|
|
|
721
|
-
Get
|
|
720
|
+
Get active base images visible to the organization (inactive or superseded images are omitted)
|
|
722
721
|
|
|
723
722
|
:param _request_timeout: timeout setting for this request. If one
|
|
724
723
|
number provided, it will be total request
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
1
|
"""
|
|
4
2
|
VoidRun API
|
|
5
3
|
|
|
@@ -11,6 +9,7 @@
|
|
|
11
9
|
Do not edit the class manually.
|
|
12
10
|
""" # noqa: E501
|
|
13
11
|
|
|
12
|
+
|
|
14
13
|
import warnings
|
|
15
14
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|