runloop-api-client 0.5.0__tar.gz → 0.6.0__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.
- runloop_api_client-0.6.0/.release-please-manifest.json +3 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/CHANGELOG.md +10 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/PKG-INFO +1 -1
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/pyproject.toml +1 -1
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/devboxes/devboxes.py +0 -10
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_create_params.py +0 -6
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared/launch_parameters.py +6 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +7 -1
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/test_blueprints.py +4 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/test_devboxes.py +2 -2
- runloop_api_client-0.5.0/.release-please-manifest.json +0 -3
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/.gitignore +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/LICENSE +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/README.md +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/SECURITY.md +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/api.md +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/bin/check-release-environment +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/bin/publish-pypi +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/examples/.keep +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/mypy.ini +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/noxfile.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/release-please-config.json +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/requirements-dev.lock +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/requirements.lock +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/devboxes/executions.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/functions/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/functions/functions.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/functions/invocations.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/projects/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/projects/logs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/projects/projects.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/code_mount_parameters.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/code_mount_parameters_param.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_disk_snapshots_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_disk_snapshots_response.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_download_file_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_execute_async_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_list_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_snapshot_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_write_file_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devboxes/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devboxes/log_list_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/function_invoke_async_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/function_invoke_sync_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/function_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/functions/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/functions/function_invocation_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/functions/invocation_list_params.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/project_list_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/projects/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/resource_size.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared/function_invocation_execution_detail_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared/project_logs_view.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared/resource_size.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/shared_params/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/devboxes/test_executions.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/devboxes/test_logs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/functions/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/functions/test_invocations.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/projects/__init__.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/projects/test_logs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/test_functions.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/test_projects.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/conftest.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_client.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_files.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_models.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_qs.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_response.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_transform.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0 (2024-10-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.5.0...v0.6.0](https://github.com/runloopai/api-client-python/compare/v0.5.0...v0.6.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#231](https://github.com/runloopai/api-client-python/issues/231)) ([c71e7f5](https://github.com/runloopai/api-client-python/commit/c71e7f5cdc94bd826218c4034abc222b40349e39))
|
|
10
|
+
* **api:** api update ([#233](https://github.com/runloopai/api-client-python/issues/233)) ([5ca0335](https://github.com/runloopai/api-client-python/commit/5ca0335166c5f731fb0fd19909fb7d5605631605))
|
|
11
|
+
* **api:** api update ([#234](https://github.com/runloopai/api-client-python/issues/234)) ([e43ae1a](https://github.com/runloopai/api-client-python/commit/e43ae1abca60530ebd439c454e56b8a2a9116554))
|
|
12
|
+
|
|
3
13
|
## 0.5.0 (2024-10-22)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v0.4.0...v0.5.0](https://github.com/runloopai/api-client-python/compare/v0.4.0...v0.5.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: The official Python library for the runloop API
|
|
5
5
|
Project-URL: Homepage, https://github.com/runloopai/api-client-python
|
|
6
6
|
Project-URL: Repository, https://github.com/runloopai/api-client-python
|
|
@@ -103,7 +103,6 @@ class DevboxesResource(SyncAPIResource):
|
|
|
103
103
|
def create(
|
|
104
104
|
self,
|
|
105
105
|
*,
|
|
106
|
-
available_ports: Iterable[int] | NotGiven = NOT_GIVEN,
|
|
107
106
|
blueprint_id: str | NotGiven = NOT_GIVEN,
|
|
108
107
|
blueprint_name: str | NotGiven = NOT_GIVEN,
|
|
109
108
|
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
|
|
@@ -129,9 +128,6 @@ class DevboxesResource(SyncAPIResource):
|
|
|
129
128
|
the 'pending' state and will transition to 'running' once it is ready.
|
|
130
129
|
|
|
131
130
|
Args:
|
|
132
|
-
available_ports: A list of ports to make available on the Devbox. Call createTunnel to open a
|
|
133
|
-
tunnel to the port.
|
|
134
|
-
|
|
135
131
|
blueprint_id: (Optional) Blueprint to use for the Devbox. If none set, the Devbox will be
|
|
136
132
|
created with the default Runloop Devbox image.
|
|
137
133
|
|
|
@@ -174,7 +170,6 @@ class DevboxesResource(SyncAPIResource):
|
|
|
174
170
|
"/v1/devboxes",
|
|
175
171
|
body=maybe_transform(
|
|
176
172
|
{
|
|
177
|
-
"available_ports": available_ports,
|
|
178
173
|
"blueprint_id": blueprint_id,
|
|
179
174
|
"blueprint_name": blueprint_name,
|
|
180
175
|
"code_mounts": code_mounts,
|
|
@@ -837,7 +832,6 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
837
832
|
async def create(
|
|
838
833
|
self,
|
|
839
834
|
*,
|
|
840
|
-
available_ports: Iterable[int] | NotGiven = NOT_GIVEN,
|
|
841
835
|
blueprint_id: str | NotGiven = NOT_GIVEN,
|
|
842
836
|
blueprint_name: str | NotGiven = NOT_GIVEN,
|
|
843
837
|
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
|
|
@@ -863,9 +857,6 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
863
857
|
the 'pending' state and will transition to 'running' once it is ready.
|
|
864
858
|
|
|
865
859
|
Args:
|
|
866
|
-
available_ports: A list of ports to make available on the Devbox. Call createTunnel to open a
|
|
867
|
-
tunnel to the port.
|
|
868
|
-
|
|
869
860
|
blueprint_id: (Optional) Blueprint to use for the Devbox. If none set, the Devbox will be
|
|
870
861
|
created with the default Runloop Devbox image.
|
|
871
862
|
|
|
@@ -908,7 +899,6 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
908
899
|
"/v1/devboxes",
|
|
909
900
|
body=await async_maybe_transform(
|
|
910
901
|
{
|
|
911
|
-
"available_ports": available_ports,
|
|
912
902
|
"blueprint_id": blueprint_id,
|
|
913
903
|
"blueprint_name": blueprint_name,
|
|
914
904
|
"code_mounts": code_mounts,
|
|
@@ -12,12 +12,6 @@ __all__ = ["DevboxCreateParams"]
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class DevboxCreateParams(TypedDict, total=False):
|
|
15
|
-
available_ports: Iterable[int]
|
|
16
|
-
"""A list of ports to make available on the Devbox.
|
|
17
|
-
|
|
18
|
-
Call createTunnel to open a tunnel to the port.
|
|
19
|
-
"""
|
|
20
|
-
|
|
21
15
|
blueprint_id: str
|
|
22
16
|
"""(Optional) Blueprint to use for the Devbox.
|
|
23
17
|
|
|
@@ -9,6 +9,12 @@ __all__ = ["LaunchParameters"]
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class LaunchParameters(BaseModel):
|
|
12
|
+
available_ports: Optional[List[int]] = None
|
|
13
|
+
"""A list of ports to make available on the Devbox.
|
|
14
|
+
|
|
15
|
+
Call createTunnel to open a tunnel to the port.
|
|
16
|
+
"""
|
|
17
|
+
|
|
12
18
|
keep_alive_time_seconds: Optional[int] = None
|
|
13
19
|
"""Time in seconds after which Devbox will automatically shutdown.
|
|
14
20
|
|
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List
|
|
5
|
+
from typing import List, Iterable
|
|
6
6
|
from typing_extensions import Literal, TypedDict
|
|
7
7
|
|
|
8
8
|
__all__ = ["LaunchParameters"]
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class LaunchParameters(TypedDict, total=False):
|
|
12
|
+
available_ports: Iterable[int]
|
|
13
|
+
"""A list of ports to make available on the Devbox.
|
|
14
|
+
|
|
15
|
+
Call createTunnel to open a tunnel to the port.
|
|
16
|
+
"""
|
|
17
|
+
|
|
12
18
|
keep_alive_time_seconds: int
|
|
13
19
|
"""Time in seconds after which Devbox will automatically shutdown.
|
|
14
20
|
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/test_blueprints.py
RENAMED
|
@@ -56,6 +56,7 @@ class TestBlueprints:
|
|
|
56
56
|
dockerfile="dockerfile",
|
|
57
57
|
file_mounts={"foo": "string"},
|
|
58
58
|
launch_parameters={
|
|
59
|
+
"available_ports": [0, 0, 0],
|
|
59
60
|
"keep_alive_time_seconds": 0,
|
|
60
61
|
"launch_commands": ["string", "string", "string"],
|
|
61
62
|
"resource_size_request": "SMALL",
|
|
@@ -232,6 +233,7 @@ class TestBlueprints:
|
|
|
232
233
|
dockerfile="dockerfile",
|
|
233
234
|
file_mounts={"foo": "string"},
|
|
234
235
|
launch_parameters={
|
|
236
|
+
"available_ports": [0, 0, 0],
|
|
235
237
|
"keep_alive_time_seconds": 0,
|
|
236
238
|
"launch_commands": ["string", "string", "string"],
|
|
237
239
|
"resource_size_request": "SMALL",
|
|
@@ -302,6 +304,7 @@ class TestAsyncBlueprints:
|
|
|
302
304
|
dockerfile="dockerfile",
|
|
303
305
|
file_mounts={"foo": "string"},
|
|
304
306
|
launch_parameters={
|
|
307
|
+
"available_ports": [0, 0, 0],
|
|
305
308
|
"keep_alive_time_seconds": 0,
|
|
306
309
|
"launch_commands": ["string", "string", "string"],
|
|
307
310
|
"resource_size_request": "SMALL",
|
|
@@ -478,6 +481,7 @@ class TestAsyncBlueprints:
|
|
|
478
481
|
dockerfile="dockerfile",
|
|
479
482
|
file_mounts={"foo": "string"},
|
|
480
483
|
launch_parameters={
|
|
484
|
+
"available_ports": [0, 0, 0],
|
|
481
485
|
"keep_alive_time_seconds": 0,
|
|
482
486
|
"launch_commands": ["string", "string", "string"],
|
|
483
487
|
"resource_size_request": "SMALL",
|
|
@@ -42,7 +42,6 @@ class TestDevboxes:
|
|
|
42
42
|
@parametrize
|
|
43
43
|
def test_method_create_with_all_params(self, client: Runloop) -> None:
|
|
44
44
|
devbox = client.devboxes.create(
|
|
45
|
-
available_ports=[0, 0, 0],
|
|
46
45
|
blueprint_id="blueprint_id",
|
|
47
46
|
blueprint_name="blueprint_name",
|
|
48
47
|
code_mounts=[
|
|
@@ -69,6 +68,7 @@ class TestDevboxes:
|
|
|
69
68
|
environment_variables={"foo": "string"},
|
|
70
69
|
file_mounts={"foo": "string"},
|
|
71
70
|
launch_parameters={
|
|
71
|
+
"available_ports": [0, 0, 0],
|
|
72
72
|
"keep_alive_time_seconds": 0,
|
|
73
73
|
"launch_commands": ["string", "string", "string"],
|
|
74
74
|
"resource_size_request": "SMALL",
|
|
@@ -750,7 +750,6 @@ class TestAsyncDevboxes:
|
|
|
750
750
|
@parametrize
|
|
751
751
|
async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -> None:
|
|
752
752
|
devbox = await async_client.devboxes.create(
|
|
753
|
-
available_ports=[0, 0, 0],
|
|
754
753
|
blueprint_id="blueprint_id",
|
|
755
754
|
blueprint_name="blueprint_name",
|
|
756
755
|
code_mounts=[
|
|
@@ -777,6 +776,7 @@ class TestAsyncDevboxes:
|
|
|
777
776
|
environment_variables={"foo": "string"},
|
|
778
777
|
file_mounts={"foo": "string"},
|
|
779
778
|
launch_parameters={
|
|
779
|
+
"available_ports": [0, 0, 0],
|
|
780
780
|
"keep_alive_time_seconds": 0,
|
|
781
781
|
"launch_commands": ["string", "string", "string"],
|
|
782
782
|
"resource_size_request": "SMALL",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_base_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/__init__.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_logs.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_proxy.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_reflection.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_streams.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_sync.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_transform.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_typing.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/_utils/_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/__init__.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/resources/blueprints.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/blueprint_view.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/devbox_view.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/src/runloop_api_client/types/resource_size.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/devboxes/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/devboxes/test_logs.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/functions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/projects/__init__.py
RENAMED
|
File without changes
|
{runloop_api_client-0.5.0 → runloop_api_client-0.6.0}/tests/api_resources/projects/test_logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|