runloop-api-client 0.1.0a19__tar.gz → 0.1.0a20__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.1.0a19 → runloop_api_client-0.1.0a20}/.gitignore +0 -0
- runloop_api_client-0.1.0a20/.release-please-manifest.json +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/CHANGELOG.md +21 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/LICENSE +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/PKG-INFO +1 -1
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/README.md +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/SECURITY.md +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/api.md +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/bin/check-release-environment +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/bin/publish-pypi +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/examples/.keep +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/mypy.ini +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/noxfile.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/pyproject.toml +1 -5
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/release-please-config.json +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/requirements-dev.lock +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/requirements.lock +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/devboxes.py +50 -7
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/executions.py +36 -4
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/logs.py +20 -2
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/functions/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/functions/functions.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/functions/invocations.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/projects/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/projects/logs.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/projects/projects.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/code_mount_parameters.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/code_mount_parameters_param.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +4 -1
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_create_params.py +5 -1
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_execute_async_params.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_execute_sync_params.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_execution_detail_view.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_list_params.py +1 -1
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_view.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_write_file_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/log_list_params.py +3 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/function_invoke_async_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/function_invoke_sync_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/function_list_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/functions/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/functions/function_invocation_list_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/functions/invocation_list_params.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/project_list_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/projects/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/resource_size.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/shared/function_invocation_execution_detail_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/shared/project_logs_view.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/test_executions.py +4 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/test_logs.py +2 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/functions/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/functions/test_invocations.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/projects/__init__.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/projects/test_logs.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_blueprints.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_devboxes.py +46 -2
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_functions.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_projects.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/conftest.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_client.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_files.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_models.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_qs.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_response.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_transform.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/utils.py +0 -0
- runloop_api_client-0.1.0a19/.release-please-manifest.json +0 -3
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
|
File without changes
|
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.20 (2024-09-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.19...v0.1.0-alpha.20](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.19...v0.1.0-alpha.20)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** OpenAPI spec update via Stainless API ([#143](https://github.com/runloopai/api-client-python/issues/143)) ([8cd8b77](https://github.com/runloopai/api-client-python/commit/8cd8b77a11e70d8a9c46d813ffc5d99ba7fc956d))
|
|
10
|
+
* **api:** OpenAPI spec update via Stainless API ([#145](https://github.com/runloopai/api-client-python/issues/145)) ([ce6146e](https://github.com/runloopai/api-client-python/commit/ce6146e94e0e54c2c3eabe091129c172f0bc146e))
|
|
11
|
+
* **api:** OpenAPI spec update via Stainless API ([#146](https://github.com/runloopai/api-client-python/issues/146)) ([21a9a9c](https://github.com/runloopai/api-client-python/commit/21a9a9cc37354f1d4b597e24de694cd9680b95d0))
|
|
12
|
+
* **api:** OpenAPI spec update via Stainless API ([#147](https://github.com/runloopai/api-client-python/issues/147)) ([79994e5](https://github.com/runloopai/api-client-python/commit/79994e52f36038f3d2a38f9cb9639a753ac9d7f4))
|
|
13
|
+
* **api:** OpenAPI spec update via Stainless API ([#148](https://github.com/runloopai/api-client-python/issues/148)) ([e645bda](https://github.com/runloopai/api-client-python/commit/e645bda8f821763db0b184f2ad3e66220b844a55))
|
|
14
|
+
* **api:** OpenAPI spec update via Stainless API ([#150](https://github.com/runloopai/api-client-python/issues/150)) ([0017597](https://github.com/runloopai/api-client-python/commit/00175979cd1f3ccad4b9ded0b27e0fbb15b31fd6))
|
|
15
|
+
* **api:** OpenAPI spec update via Stainless API ([#151](https://github.com/runloopai/api-client-python/issues/151)) ([7b9f2fa](https://github.com/runloopai/api-client-python/commit/7b9f2fad3474a08fc4814574db7715b7c4d69182))
|
|
16
|
+
* **api:** OpenAPI spec update via Stainless API ([#152](https://github.com/runloopai/api-client-python/issues/152)) ([9845185](https://github.com/runloopai/api-client-python/commit/98451858216e7f414e6c81e32e3401bb0eee2f5d))
|
|
17
|
+
* **api:** OpenAPI spec update via Stainless API ([#154](https://github.com/runloopai/api-client-python/issues/154)) ([e6350ec](https://github.com/runloopai/api-client-python/commit/e6350ec396f5f081b8099e3cd760de097f0120f8))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* pyproject.toml formatting changes ([#149](https://github.com/runloopai/api-client-python/issues/149)) ([9370c54](https://github.com/runloopai/api-client-python/commit/9370c543098a995dfdd10f5b020da92567af814e))
|
|
23
|
+
|
|
3
24
|
## 0.1.0-alpha.19 (2024-08-28)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a20
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "runloop_api_client"
|
|
3
|
-
version = "0.1.0-alpha.
|
|
3
|
+
version = "0.1.0-alpha.20"
|
|
4
4
|
description = "The official Python library for the runloop API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "MIT"
|
|
@@ -15,7 +15,6 @@ dependencies = [
|
|
|
15
15
|
"distro>=1.7.0, <2",
|
|
16
16
|
"sniffio",
|
|
17
17
|
"cached-property; python_version < '3.8'",
|
|
18
|
-
|
|
19
18
|
]
|
|
20
19
|
requires-python = ">= 3.7"
|
|
21
20
|
classifiers = [
|
|
@@ -36,8 +35,6 @@ classifiers = [
|
|
|
36
35
|
"License :: OSI Approved :: MIT License"
|
|
37
36
|
]
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
38
|
[project.urls]
|
|
42
39
|
Homepage = "https://github.com/runloopai/api-client-python"
|
|
43
40
|
Repository = "https://github.com/runloopai/api-client-python"
|
|
@@ -59,7 +56,6 @@ dev-dependencies = [
|
|
|
59
56
|
"dirty-equals>=0.6.0",
|
|
60
57
|
"importlib-metadata>=6.7.0",
|
|
61
58
|
"rich>=13.7.1",
|
|
62
|
-
|
|
63
59
|
]
|
|
64
60
|
|
|
65
61
|
[tool.rye.scripts]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/__init__.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_base_client.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_client.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_compat.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_constants.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_exceptions.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_files.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_models.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_resource.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_response.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_streaming.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_logs.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_proxy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_sync.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_typing.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_utils.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/src/runloop_api_client/lib/.keep
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Dict, List, Mapping, cast
|
|
5
|
+
from typing import Dict, List, Mapping, Iterable, cast
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
@@ -49,6 +49,7 @@ from ..._response import (
|
|
|
49
49
|
from ..._base_client import make_request_options
|
|
50
50
|
from ...types.devbox_view import DevboxView
|
|
51
51
|
from ...types.devbox_list_view import DevboxListView
|
|
52
|
+
from ...types.code_mount_parameters_param import CodeMountParametersParam
|
|
52
53
|
from ...types.devbox_execution_detail_view import DevboxExecutionDetailView
|
|
53
54
|
from ...types.devbox_create_ssh_key_response import DevboxCreateSSHKeyResponse
|
|
54
55
|
from ...types.devbox_async_execution_detail_view import DevboxAsyncExecutionDetailView
|
|
@@ -78,6 +79,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
78
79
|
*,
|
|
79
80
|
blueprint_id: str | NotGiven = NOT_GIVEN,
|
|
80
81
|
blueprint_name: str | NotGiven = NOT_GIVEN,
|
|
82
|
+
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
|
|
81
83
|
entrypoint: str | NotGiven = NOT_GIVEN,
|
|
82
84
|
environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN,
|
|
83
85
|
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
|
|
@@ -104,6 +106,8 @@ class DevboxesResource(SyncAPIResource):
|
|
|
104
106
|
blueprint_name: (Optional) Name of Blueprint to use for the Devbox. When set, this will load the
|
|
105
107
|
latest successfully built Blueprint with the given name.
|
|
106
108
|
|
|
109
|
+
code_mounts: A list of code mounts to be included in the Devbox.
|
|
110
|
+
|
|
107
111
|
entrypoint: (Optional) When specified, the Devbox will run this script as its main
|
|
108
112
|
executable. The devbox lifecycle will be bound to entrypoint, shutting down when
|
|
109
113
|
the process is complete.
|
|
@@ -136,6 +140,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
136
140
|
{
|
|
137
141
|
"blueprint_id": blueprint_id,
|
|
138
142
|
"blueprint_name": blueprint_name,
|
|
143
|
+
"code_mounts": code_mounts,
|
|
139
144
|
"entrypoint": entrypoint,
|
|
140
145
|
"environment_variables": environment_variables,
|
|
141
146
|
"file_mounts": file_mounts,
|
|
@@ -189,7 +194,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
189
194
|
def list(
|
|
190
195
|
self,
|
|
191
196
|
*,
|
|
192
|
-
limit:
|
|
197
|
+
limit: int | NotGiven = NOT_GIVEN,
|
|
193
198
|
starting_after: str | NotGiven = NOT_GIVEN,
|
|
194
199
|
status: str | NotGiven = NOT_GIVEN,
|
|
195
200
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -276,6 +281,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
276
281
|
id: str,
|
|
277
282
|
*,
|
|
278
283
|
command: str | NotGiven = NOT_GIVEN,
|
|
284
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
279
285
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
280
286
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
281
287
|
extra_headers: Headers | None = None,
|
|
@@ -289,6 +295,8 @@ class DevboxesResource(SyncAPIResource):
|
|
|
289
295
|
Args:
|
|
290
296
|
command: The command to execute on the Devbox.
|
|
291
297
|
|
|
298
|
+
shell_name: Which named shell to run the command in.
|
|
299
|
+
|
|
292
300
|
extra_headers: Send extra headers
|
|
293
301
|
|
|
294
302
|
extra_query: Add additional query parameters to the request
|
|
@@ -301,7 +309,13 @@ class DevboxesResource(SyncAPIResource):
|
|
|
301
309
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
302
310
|
return self._post(
|
|
303
311
|
f"/v1/devboxes/{id}/execute_async",
|
|
304
|
-
body=maybe_transform(
|
|
312
|
+
body=maybe_transform(
|
|
313
|
+
{
|
|
314
|
+
"command": command,
|
|
315
|
+
"shell_name": shell_name,
|
|
316
|
+
},
|
|
317
|
+
devbox_execute_async_params.DevboxExecuteAsyncParams,
|
|
318
|
+
),
|
|
305
319
|
options=make_request_options(
|
|
306
320
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
307
321
|
),
|
|
@@ -313,6 +327,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
313
327
|
id: str,
|
|
314
328
|
*,
|
|
315
329
|
command: str | NotGiven = NOT_GIVEN,
|
|
330
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
316
331
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
317
332
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
318
333
|
extra_headers: Headers | None = None,
|
|
@@ -326,6 +341,8 @@ class DevboxesResource(SyncAPIResource):
|
|
|
326
341
|
Args:
|
|
327
342
|
command: The command to execute on the Devbox.
|
|
328
343
|
|
|
344
|
+
shell_name: Which named shell to run the command in.
|
|
345
|
+
|
|
329
346
|
extra_headers: Send extra headers
|
|
330
347
|
|
|
331
348
|
extra_query: Add additional query parameters to the request
|
|
@@ -338,7 +355,13 @@ class DevboxesResource(SyncAPIResource):
|
|
|
338
355
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
339
356
|
return self._post(
|
|
340
357
|
f"/v1/devboxes/{id}/execute_sync",
|
|
341
|
-
body=maybe_transform(
|
|
358
|
+
body=maybe_transform(
|
|
359
|
+
{
|
|
360
|
+
"command": command,
|
|
361
|
+
"shell_name": shell_name,
|
|
362
|
+
},
|
|
363
|
+
devbox_execute_sync_params.DevboxExecuteSyncParams,
|
|
364
|
+
),
|
|
342
365
|
options=make_request_options(
|
|
343
366
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
344
367
|
),
|
|
@@ -536,6 +559,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
536
559
|
*,
|
|
537
560
|
blueprint_id: str | NotGiven = NOT_GIVEN,
|
|
538
561
|
blueprint_name: str | NotGiven = NOT_GIVEN,
|
|
562
|
+
code_mounts: Iterable[CodeMountParametersParam] | NotGiven = NOT_GIVEN,
|
|
539
563
|
entrypoint: str | NotGiven = NOT_GIVEN,
|
|
540
564
|
environment_variables: Dict[str, str] | NotGiven = NOT_GIVEN,
|
|
541
565
|
file_mounts: Dict[str, str] | NotGiven = NOT_GIVEN,
|
|
@@ -562,6 +586,8 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
562
586
|
blueprint_name: (Optional) Name of Blueprint to use for the Devbox. When set, this will load the
|
|
563
587
|
latest successfully built Blueprint with the given name.
|
|
564
588
|
|
|
589
|
+
code_mounts: A list of code mounts to be included in the Devbox.
|
|
590
|
+
|
|
565
591
|
entrypoint: (Optional) When specified, the Devbox will run this script as its main
|
|
566
592
|
executable. The devbox lifecycle will be bound to entrypoint, shutting down when
|
|
567
593
|
the process is complete.
|
|
@@ -594,6 +620,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
594
620
|
{
|
|
595
621
|
"blueprint_id": blueprint_id,
|
|
596
622
|
"blueprint_name": blueprint_name,
|
|
623
|
+
"code_mounts": code_mounts,
|
|
597
624
|
"entrypoint": entrypoint,
|
|
598
625
|
"environment_variables": environment_variables,
|
|
599
626
|
"file_mounts": file_mounts,
|
|
@@ -647,7 +674,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
647
674
|
async def list(
|
|
648
675
|
self,
|
|
649
676
|
*,
|
|
650
|
-
limit:
|
|
677
|
+
limit: int | NotGiven = NOT_GIVEN,
|
|
651
678
|
starting_after: str | NotGiven = NOT_GIVEN,
|
|
652
679
|
status: str | NotGiven = NOT_GIVEN,
|
|
653
680
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -734,6 +761,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
734
761
|
id: str,
|
|
735
762
|
*,
|
|
736
763
|
command: str | NotGiven = NOT_GIVEN,
|
|
764
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
737
765
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
738
766
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
739
767
|
extra_headers: Headers | None = None,
|
|
@@ -747,6 +775,8 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
747
775
|
Args:
|
|
748
776
|
command: The command to execute on the Devbox.
|
|
749
777
|
|
|
778
|
+
shell_name: Which named shell to run the command in.
|
|
779
|
+
|
|
750
780
|
extra_headers: Send extra headers
|
|
751
781
|
|
|
752
782
|
extra_query: Add additional query parameters to the request
|
|
@@ -760,7 +790,11 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
760
790
|
return await self._post(
|
|
761
791
|
f"/v1/devboxes/{id}/execute_async",
|
|
762
792
|
body=await async_maybe_transform(
|
|
763
|
-
{
|
|
793
|
+
{
|
|
794
|
+
"command": command,
|
|
795
|
+
"shell_name": shell_name,
|
|
796
|
+
},
|
|
797
|
+
devbox_execute_async_params.DevboxExecuteAsyncParams,
|
|
764
798
|
),
|
|
765
799
|
options=make_request_options(
|
|
766
800
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
@@ -773,6 +807,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
773
807
|
id: str,
|
|
774
808
|
*,
|
|
775
809
|
command: str | NotGiven = NOT_GIVEN,
|
|
810
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
776
811
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
777
812
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
778
813
|
extra_headers: Headers | None = None,
|
|
@@ -786,6 +821,8 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
786
821
|
Args:
|
|
787
822
|
command: The command to execute on the Devbox.
|
|
788
823
|
|
|
824
|
+
shell_name: Which named shell to run the command in.
|
|
825
|
+
|
|
789
826
|
extra_headers: Send extra headers
|
|
790
827
|
|
|
791
828
|
extra_query: Add additional query parameters to the request
|
|
@@ -798,7 +835,13 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
798
835
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
799
836
|
return await self._post(
|
|
800
837
|
f"/v1/devboxes/{id}/execute_sync",
|
|
801
|
-
body=await async_maybe_transform(
|
|
838
|
+
body=await async_maybe_transform(
|
|
839
|
+
{
|
|
840
|
+
"command": command,
|
|
841
|
+
"shell_name": shell_name,
|
|
842
|
+
},
|
|
843
|
+
devbox_execute_sync_params.DevboxExecuteSyncParams,
|
|
844
|
+
),
|
|
802
845
|
options=make_request_options(
|
|
803
846
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
804
847
|
),
|
|
@@ -82,6 +82,7 @@ class ExecutionsResource(SyncAPIResource):
|
|
|
82
82
|
id: str,
|
|
83
83
|
*,
|
|
84
84
|
command: str | NotGiven = NOT_GIVEN,
|
|
85
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
85
86
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
86
87
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
87
88
|
extra_headers: Headers | None = None,
|
|
@@ -95,6 +96,8 @@ class ExecutionsResource(SyncAPIResource):
|
|
|
95
96
|
Args:
|
|
96
97
|
command: The command to execute on the Devbox.
|
|
97
98
|
|
|
99
|
+
shell_name: Which named shell to run the command in.
|
|
100
|
+
|
|
98
101
|
extra_headers: Send extra headers
|
|
99
102
|
|
|
100
103
|
extra_query: Add additional query parameters to the request
|
|
@@ -107,7 +110,13 @@ class ExecutionsResource(SyncAPIResource):
|
|
|
107
110
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
108
111
|
return self._post(
|
|
109
112
|
f"/v1/devboxes/{id}/execute_async",
|
|
110
|
-
body=maybe_transform(
|
|
113
|
+
body=maybe_transform(
|
|
114
|
+
{
|
|
115
|
+
"command": command,
|
|
116
|
+
"shell_name": shell_name,
|
|
117
|
+
},
|
|
118
|
+
execution_execute_async_params.ExecutionExecuteAsyncParams,
|
|
119
|
+
),
|
|
111
120
|
options=make_request_options(
|
|
112
121
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
113
122
|
),
|
|
@@ -119,6 +128,7 @@ class ExecutionsResource(SyncAPIResource):
|
|
|
119
128
|
id: str,
|
|
120
129
|
*,
|
|
121
130
|
command: str | NotGiven = NOT_GIVEN,
|
|
131
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
122
132
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
123
133
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
124
134
|
extra_headers: Headers | None = None,
|
|
@@ -132,6 +142,8 @@ class ExecutionsResource(SyncAPIResource):
|
|
|
132
142
|
Args:
|
|
133
143
|
command: The command to execute on the Devbox.
|
|
134
144
|
|
|
145
|
+
shell_name: Which named shell to run the command in.
|
|
146
|
+
|
|
135
147
|
extra_headers: Send extra headers
|
|
136
148
|
|
|
137
149
|
extra_query: Add additional query parameters to the request
|
|
@@ -144,7 +156,13 @@ class ExecutionsResource(SyncAPIResource):
|
|
|
144
156
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
145
157
|
return self._post(
|
|
146
158
|
f"/v1/devboxes/{id}/execute_sync",
|
|
147
|
-
body=maybe_transform(
|
|
159
|
+
body=maybe_transform(
|
|
160
|
+
{
|
|
161
|
+
"command": command,
|
|
162
|
+
"shell_name": shell_name,
|
|
163
|
+
},
|
|
164
|
+
execution_execute_sync_params.ExecutionExecuteSyncParams,
|
|
165
|
+
),
|
|
148
166
|
options=make_request_options(
|
|
149
167
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
150
168
|
),
|
|
@@ -247,6 +265,7 @@ class AsyncExecutionsResource(AsyncAPIResource):
|
|
|
247
265
|
id: str,
|
|
248
266
|
*,
|
|
249
267
|
command: str | NotGiven = NOT_GIVEN,
|
|
268
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
250
269
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
251
270
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
252
271
|
extra_headers: Headers | None = None,
|
|
@@ -260,6 +279,8 @@ class AsyncExecutionsResource(AsyncAPIResource):
|
|
|
260
279
|
Args:
|
|
261
280
|
command: The command to execute on the Devbox.
|
|
262
281
|
|
|
282
|
+
shell_name: Which named shell to run the command in.
|
|
283
|
+
|
|
263
284
|
extra_headers: Send extra headers
|
|
264
285
|
|
|
265
286
|
extra_query: Add additional query parameters to the request
|
|
@@ -273,7 +294,11 @@ class AsyncExecutionsResource(AsyncAPIResource):
|
|
|
273
294
|
return await self._post(
|
|
274
295
|
f"/v1/devboxes/{id}/execute_async",
|
|
275
296
|
body=await async_maybe_transform(
|
|
276
|
-
{
|
|
297
|
+
{
|
|
298
|
+
"command": command,
|
|
299
|
+
"shell_name": shell_name,
|
|
300
|
+
},
|
|
301
|
+
execution_execute_async_params.ExecutionExecuteAsyncParams,
|
|
277
302
|
),
|
|
278
303
|
options=make_request_options(
|
|
279
304
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
@@ -286,6 +311,7 @@ class AsyncExecutionsResource(AsyncAPIResource):
|
|
|
286
311
|
id: str,
|
|
287
312
|
*,
|
|
288
313
|
command: str | NotGiven = NOT_GIVEN,
|
|
314
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
289
315
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
290
316
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
291
317
|
extra_headers: Headers | None = None,
|
|
@@ -299,6 +325,8 @@ class AsyncExecutionsResource(AsyncAPIResource):
|
|
|
299
325
|
Args:
|
|
300
326
|
command: The command to execute on the Devbox.
|
|
301
327
|
|
|
328
|
+
shell_name: Which named shell to run the command in.
|
|
329
|
+
|
|
302
330
|
extra_headers: Send extra headers
|
|
303
331
|
|
|
304
332
|
extra_query: Add additional query parameters to the request
|
|
@@ -312,7 +340,11 @@ class AsyncExecutionsResource(AsyncAPIResource):
|
|
|
312
340
|
return await self._post(
|
|
313
341
|
f"/v1/devboxes/{id}/execute_sync",
|
|
314
342
|
body=await async_maybe_transform(
|
|
315
|
-
{
|
|
343
|
+
{
|
|
344
|
+
"command": command,
|
|
345
|
+
"shell_name": shell_name,
|
|
346
|
+
},
|
|
347
|
+
execution_execute_sync_params.ExecutionExecuteSyncParams,
|
|
316
348
|
),
|
|
317
349
|
options=make_request_options(
|
|
318
350
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
@@ -38,6 +38,7 @@ class LogsResource(SyncAPIResource):
|
|
|
38
38
|
id: str,
|
|
39
39
|
*,
|
|
40
40
|
execution_id: str | NotGiven = NOT_GIVEN,
|
|
41
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
41
42
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
42
43
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
43
44
|
extra_headers: Headers | None = None,
|
|
@@ -51,6 +52,8 @@ class LogsResource(SyncAPIResource):
|
|
|
51
52
|
Args:
|
|
52
53
|
execution_id: Id of execution to filter logs by.
|
|
53
54
|
|
|
55
|
+
shell_name: Shell Name to filter logs by.
|
|
56
|
+
|
|
54
57
|
extra_headers: Send extra headers
|
|
55
58
|
|
|
56
59
|
extra_query: Add additional query parameters to the request
|
|
@@ -68,7 +71,13 @@ class LogsResource(SyncAPIResource):
|
|
|
68
71
|
extra_query=extra_query,
|
|
69
72
|
extra_body=extra_body,
|
|
70
73
|
timeout=timeout,
|
|
71
|
-
query=maybe_transform(
|
|
74
|
+
query=maybe_transform(
|
|
75
|
+
{
|
|
76
|
+
"execution_id": execution_id,
|
|
77
|
+
"shell_name": shell_name,
|
|
78
|
+
},
|
|
79
|
+
log_list_params.LogListParams,
|
|
80
|
+
),
|
|
72
81
|
),
|
|
73
82
|
cast_to=DevboxLogsListView,
|
|
74
83
|
)
|
|
@@ -88,6 +97,7 @@ class AsyncLogsResource(AsyncAPIResource):
|
|
|
88
97
|
id: str,
|
|
89
98
|
*,
|
|
90
99
|
execution_id: str | NotGiven = NOT_GIVEN,
|
|
100
|
+
shell_name: str | NotGiven = NOT_GIVEN,
|
|
91
101
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
92
102
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
93
103
|
extra_headers: Headers | None = None,
|
|
@@ -101,6 +111,8 @@ class AsyncLogsResource(AsyncAPIResource):
|
|
|
101
111
|
Args:
|
|
102
112
|
execution_id: Id of execution to filter logs by.
|
|
103
113
|
|
|
114
|
+
shell_name: Shell Name to filter logs by.
|
|
115
|
+
|
|
104
116
|
extra_headers: Send extra headers
|
|
105
117
|
|
|
106
118
|
extra_query: Add additional query parameters to the request
|
|
@@ -118,7 +130,13 @@ class AsyncLogsResource(AsyncAPIResource):
|
|
|
118
130
|
extra_query=extra_query,
|
|
119
131
|
extra_body=extra_body,
|
|
120
132
|
timeout=timeout,
|
|
121
|
-
query=await async_maybe_transform(
|
|
133
|
+
query=await async_maybe_transform(
|
|
134
|
+
{
|
|
135
|
+
"execution_id": execution_id,
|
|
136
|
+
"shell_name": shell_name,
|
|
137
|
+
},
|
|
138
|
+
log_list_params.LogListParams,
|
|
139
|
+
),
|
|
122
140
|
),
|
|
123
141
|
cast_to=DevboxLogsListView,
|
|
124
142
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -21,7 +21,10 @@ class DevboxAsyncExecutionDetailView(BaseModel):
|
|
|
21
21
|
This field will remain unset until the execution has completed.
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
shell_name: Optional[str] = None
|
|
25
|
+
"""Shell name."""
|
|
26
|
+
|
|
27
|
+
status: Optional[Literal["queued", "running", "completed"]] = None
|
|
25
28
|
"""Current status of the execution."""
|
|
26
29
|
|
|
27
30
|
stderr: Optional[str] = None
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Dict, List
|
|
5
|
+
from typing import Dict, List, Iterable
|
|
6
6
|
from typing_extensions import TypedDict
|
|
7
7
|
|
|
8
8
|
from .resource_size import ResourceSize
|
|
9
|
+
from .code_mount_parameters_param import CodeMountParametersParam
|
|
9
10
|
|
|
10
11
|
__all__ = ["DevboxCreateParams", "LaunchParameters"]
|
|
11
12
|
|
|
@@ -24,6 +25,9 @@ class DevboxCreateParams(TypedDict, total=False):
|
|
|
24
25
|
name.
|
|
25
26
|
"""
|
|
26
27
|
|
|
28
|
+
code_mounts: Iterable[CodeMountParametersParam]
|
|
29
|
+
"""A list of code mounts to be included in the Devbox."""
|
|
30
|
+
|
|
27
31
|
entrypoint: str
|
|
28
32
|
"""
|
|
29
33
|
(Optional) When specified, the Devbox will run this script as its main
|
|
@@ -14,6 +14,9 @@ class DevboxExecutionDetailView(BaseModel):
|
|
|
14
14
|
exit_status: Optional[int] = None
|
|
15
15
|
"""Exit status of command execution."""
|
|
16
16
|
|
|
17
|
+
shell_name: Optional[str] = None
|
|
18
|
+
"""Shell name."""
|
|
19
|
+
|
|
17
20
|
stderr: Optional[str] = None
|
|
18
21
|
"""Standard error generated by command."""
|
|
19
22
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,5 +36,8 @@ class DevboxView(BaseModel):
|
|
|
36
36
|
name: Optional[str] = None
|
|
37
37
|
"""The name of the Devbox."""
|
|
38
38
|
|
|
39
|
+
shutdown_reason: Optional[Literal["api_shutdown", "keep_alive_timeout", "entrypoint_exit"]] = None
|
|
40
|
+
"""The shutdown reason if the Devbox shutdown, if any."""
|
|
41
|
+
|
|
39
42
|
status: Optional[Literal["provisioning", "initializing", "running", "failure", "shutdown"]] = None
|
|
40
43
|
"""The current status of the Devbox."""
|
|
File without changes
|
|
File without changes
|
|
@@ -24,6 +24,9 @@ class Log(BaseModel):
|
|
|
24
24
|
message: Optional[str] = None
|
|
25
25
|
"""Log line message."""
|
|
26
26
|
|
|
27
|
+
shell_name: Optional[str] = None
|
|
28
|
+
"""The Shell name the cmd executed in."""
|
|
29
|
+
|
|
27
30
|
source: Optional[Literal["setup_commands", "entrypoint", "exec"]] = None
|
|
28
31
|
"""The source of the log."""
|
|
29
32
|
|
|
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.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/__init__.py
RENAMED
|
File without changes
|
|
@@ -86,6 +86,7 @@ class TestExecutions:
|
|
|
86
86
|
execution = client.devboxes.executions.execute_async(
|
|
87
87
|
id="id",
|
|
88
88
|
command="command",
|
|
89
|
+
shell_name="shell_name",
|
|
89
90
|
)
|
|
90
91
|
assert_matches_type(DevboxAsyncExecutionDetailView, execution, path=["response"])
|
|
91
92
|
|
|
@@ -132,6 +133,7 @@ class TestExecutions:
|
|
|
132
133
|
execution = client.devboxes.executions.execute_sync(
|
|
133
134
|
id="id",
|
|
134
135
|
command="command",
|
|
136
|
+
shell_name="shell_name",
|
|
135
137
|
)
|
|
136
138
|
assert_matches_type(DevboxExecutionDetailView, execution, path=["response"])
|
|
137
139
|
|
|
@@ -287,6 +289,7 @@ class TestAsyncExecutions:
|
|
|
287
289
|
execution = await async_client.devboxes.executions.execute_async(
|
|
288
290
|
id="id",
|
|
289
291
|
command="command",
|
|
292
|
+
shell_name="shell_name",
|
|
290
293
|
)
|
|
291
294
|
assert_matches_type(DevboxAsyncExecutionDetailView, execution, path=["response"])
|
|
292
295
|
|
|
@@ -333,6 +336,7 @@ class TestAsyncExecutions:
|
|
|
333
336
|
execution = await async_client.devboxes.executions.execute_sync(
|
|
334
337
|
id="id",
|
|
335
338
|
command="command",
|
|
339
|
+
shell_name="shell_name",
|
|
336
340
|
)
|
|
337
341
|
assert_matches_type(DevboxExecutionDetailView, execution, path=["response"])
|
|
338
342
|
|
|
@@ -29,6 +29,7 @@ class TestLogs:
|
|
|
29
29
|
log = client.devboxes.logs.list(
|
|
30
30
|
id="id",
|
|
31
31
|
execution_id="execution_id",
|
|
32
|
+
shell_name="shell_name",
|
|
32
33
|
)
|
|
33
34
|
assert_matches_type(DevboxLogsListView, log, path=["response"])
|
|
34
35
|
|
|
@@ -79,6 +80,7 @@ class TestAsyncLogs:
|
|
|
79
80
|
log = await async_client.devboxes.logs.list(
|
|
80
81
|
id="id",
|
|
81
82
|
execution_id="execution_id",
|
|
83
|
+
shell_name="shell_name",
|
|
82
84
|
)
|
|
83
85
|
assert_matches_type(DevboxLogsListView, log, path=["response"])
|
|
84
86
|
|
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/projects/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_blueprints.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_devboxes.py
RENAMED
|
@@ -33,6 +33,26 @@ class TestDevboxes:
|
|
|
33
33
|
devbox = client.devboxes.create(
|
|
34
34
|
blueprint_id="blueprint_id",
|
|
35
35
|
blueprint_name="blueprint_name",
|
|
36
|
+
code_mounts=[
|
|
37
|
+
{
|
|
38
|
+
"token": "token",
|
|
39
|
+
"install_command": "install_command",
|
|
40
|
+
"repo_name": "repo_name",
|
|
41
|
+
"repo_owner": "repo_owner",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"token": "token",
|
|
45
|
+
"install_command": "install_command",
|
|
46
|
+
"repo_name": "repo_name",
|
|
47
|
+
"repo_owner": "repo_owner",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"token": "token",
|
|
51
|
+
"install_command": "install_command",
|
|
52
|
+
"repo_name": "repo_name",
|
|
53
|
+
"repo_owner": "repo_owner",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
36
56
|
entrypoint="entrypoint",
|
|
37
57
|
environment_variables={"foo": "string"},
|
|
38
58
|
file_mounts={"foo": "string"},
|
|
@@ -113,7 +133,7 @@ class TestDevboxes:
|
|
|
113
133
|
@parametrize
|
|
114
134
|
def test_method_list_with_all_params(self, client: Runloop) -> None:
|
|
115
135
|
devbox = client.devboxes.list(
|
|
116
|
-
limit=
|
|
136
|
+
limit=0,
|
|
117
137
|
starting_after="starting_after",
|
|
118
138
|
status="status",
|
|
119
139
|
)
|
|
@@ -189,6 +209,7 @@ class TestDevboxes:
|
|
|
189
209
|
devbox = client.devboxes.execute_async(
|
|
190
210
|
id="id",
|
|
191
211
|
command="command",
|
|
212
|
+
shell_name="shell_name",
|
|
192
213
|
)
|
|
193
214
|
assert_matches_type(DevboxAsyncExecutionDetailView, devbox, path=["response"])
|
|
194
215
|
|
|
@@ -235,6 +256,7 @@ class TestDevboxes:
|
|
|
235
256
|
devbox = client.devboxes.execute_sync(
|
|
236
257
|
id="id",
|
|
237
258
|
command="command",
|
|
259
|
+
shell_name="shell_name",
|
|
238
260
|
)
|
|
239
261
|
assert_matches_type(DevboxExecutionDetailView, devbox, path=["response"])
|
|
240
262
|
|
|
@@ -461,6 +483,26 @@ class TestAsyncDevboxes:
|
|
|
461
483
|
devbox = await async_client.devboxes.create(
|
|
462
484
|
blueprint_id="blueprint_id",
|
|
463
485
|
blueprint_name="blueprint_name",
|
|
486
|
+
code_mounts=[
|
|
487
|
+
{
|
|
488
|
+
"token": "token",
|
|
489
|
+
"install_command": "install_command",
|
|
490
|
+
"repo_name": "repo_name",
|
|
491
|
+
"repo_owner": "repo_owner",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"token": "token",
|
|
495
|
+
"install_command": "install_command",
|
|
496
|
+
"repo_name": "repo_name",
|
|
497
|
+
"repo_owner": "repo_owner",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"token": "token",
|
|
501
|
+
"install_command": "install_command",
|
|
502
|
+
"repo_name": "repo_name",
|
|
503
|
+
"repo_owner": "repo_owner",
|
|
504
|
+
},
|
|
505
|
+
],
|
|
464
506
|
entrypoint="entrypoint",
|
|
465
507
|
environment_variables={"foo": "string"},
|
|
466
508
|
file_mounts={"foo": "string"},
|
|
@@ -541,7 +583,7 @@ class TestAsyncDevboxes:
|
|
|
541
583
|
@parametrize
|
|
542
584
|
async def test_method_list_with_all_params(self, async_client: AsyncRunloop) -> None:
|
|
543
585
|
devbox = await async_client.devboxes.list(
|
|
544
|
-
limit=
|
|
586
|
+
limit=0,
|
|
545
587
|
starting_after="starting_after",
|
|
546
588
|
status="status",
|
|
547
589
|
)
|
|
@@ -617,6 +659,7 @@ class TestAsyncDevboxes:
|
|
|
617
659
|
devbox = await async_client.devboxes.execute_async(
|
|
618
660
|
id="id",
|
|
619
661
|
command="command",
|
|
662
|
+
shell_name="shell_name",
|
|
620
663
|
)
|
|
621
664
|
assert_matches_type(DevboxAsyncExecutionDetailView, devbox, path=["response"])
|
|
622
665
|
|
|
@@ -663,6 +706,7 @@ class TestAsyncDevboxes:
|
|
|
663
706
|
devbox = await async_client.devboxes.execute_sync(
|
|
664
707
|
id="id",
|
|
665
708
|
command="command",
|
|
709
|
+
shell_name="shell_name",
|
|
666
710
|
)
|
|
667
711
|
assert_matches_type(DevboxExecutionDetailView, devbox, path=["response"])
|
|
668
712
|
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_functions.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a19 → runloop_api_client-0.1.0a20}/tests/api_resources/test_projects.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
|