runloop-api-client 0.1.0a18__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.0a18 → 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.0a18 → runloop_api_client-0.1.0a20}/CHANGELOG.md +30 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/LICENSE +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/PKG-INFO +1 -1
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/README.md +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/SECURITY.md +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/api.md +3 -2
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/bin/check-release-environment +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/bin/publish-pypi +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/examples/.keep +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/mypy.ini +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/noxfile.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/pyproject.toml +1 -5
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/release-please-config.json +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/requirements-dev.lock +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/requirements.lock +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/devboxes.py +52 -9
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/executions.py +123 -3
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/devboxes/logs.py +39 -2
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/functions/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/functions/functions.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/functions/invocations.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/projects/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/projects/logs.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/resources/projects/projects.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/code_mount_parameters.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/code_mount_parameters_param.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +4 -1
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_create_params.py +5 -1
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_execute_async_params.py +3 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_execute_sync_params.py +3 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_execution_detail_view.py +3 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_list_params.py +1 -1
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_view.py +3 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_write_file_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/__init__.py +2 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +3 -0
- runloop_api_client-0.1.0a20/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +15 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +3 -0
- runloop_api_client-0.1.0a20/src/runloop_api_client/types/devboxes/log_list_params.py +15 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/function_invoke_async_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/function_invoke_sync_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/function_list_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/functions/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/functions/function_invocation_list_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/functions/invocation_list_params.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/project_list_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/projects/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/resource_size.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → 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.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/shared/project_logs_view.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/test_executions.py +96 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/devboxes/test_logs.py +26 -8
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/functions/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/functions/test_invocations.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/projects/__init__.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/projects/test_logs.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/test_blueprints.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/test_devboxes.py +46 -2
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/test_functions.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/api_resources/test_projects.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/conftest.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_client.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_files.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_models.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_qs.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_response.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_transform.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/tests/utils.py +0 -0
- runloop_api_client-0.1.0a18/.release-please-manifest.json +0 -3
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
|
File without changes
|
|
@@ -1,5 +1,35 @@
|
|
|
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
|
+
|
|
24
|
+
## 0.1.0-alpha.19 (2024-08-28)
|
|
25
|
+
|
|
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)
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **api:** OpenAPI spec update via Stainless API ([#139](https://github.com/runloopai/api-client-python/issues/139)) ([f359981](https://github.com/runloopai/api-client-python/commit/f359981163f1358b9556c53a5f72e9cbe5a56a81))
|
|
31
|
+
* **api:** OpenAPI spec update via Stainless API ([#141](https://github.com/runloopai/api-client-python/issues/141)) ([ebd75f4](https://github.com/runloopai/api-client-python/commit/ebd75f4c3e4348e01cb107a77d92477d0906329a))
|
|
32
|
+
|
|
3
33
|
## 0.1.0-alpha.18 (2024-08-28)
|
|
4
34
|
|
|
5
35
|
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/runloopai/api-client-python/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
|
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
|
|
@@ -65,7 +65,7 @@ Methods:
|
|
|
65
65
|
- <code title="get /v1/devboxes/{id}">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/devbox_view.py">DevboxView</a></code>
|
|
66
66
|
- <code title="get /v1/devboxes">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">list</a>(\*\*<a href="src/runloop_api_client/types/devbox_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_list_view.py">DevboxListView</a></code>
|
|
67
67
|
- <code title="post /v1/devboxes/{id}/create_ssh_key">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">create_ssh_key</a>(id) -> <a href="./src/runloop_api_client/types/devbox_create_ssh_key_response.py">DevboxCreateSSHKeyResponse</a></code>
|
|
68
|
-
- <code title="post /v1/devboxes/{id}/
|
|
68
|
+
- <code title="post /v1/devboxes/{id}/execute_async">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">execute_async</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_execute_async_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_async_execution_detail_view.py">DevboxAsyncExecutionDetailView</a></code>
|
|
69
69
|
- <code title="post /v1/devboxes/{id}/execute_sync">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">execute_sync</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_execute_sync_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_execution_detail_view.py">DevboxExecutionDetailView</a></code>
|
|
70
70
|
- <code title="post /v1/devboxes/{id}/read_file_contents">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">read_file_contents</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_read_file_contents_params.py">params</a>) -> str</code>
|
|
71
71
|
- <code title="post /v1/devboxes/{id}/shutdown">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">shutdown</a>(id) -> <a href="./src/runloop_api_client/types/devbox_view.py">DevboxView</a></code>
|
|
@@ -82,13 +82,14 @@ from runloop_api_client.types.devboxes import DevboxLogsListView
|
|
|
82
82
|
|
|
83
83
|
Methods:
|
|
84
84
|
|
|
85
|
-
- <code title="get /v1/devboxes/{id}/logs">client.devboxes.logs.<a href="./src/runloop_api_client/resources/devboxes/logs.py">list</a>(id) -> <a href="./src/runloop_api_client/types/devboxes/devbox_logs_list_view.py">DevboxLogsListView</a></code>
|
|
85
|
+
- <code title="get /v1/devboxes/{id}/logs">client.devboxes.logs.<a href="./src/runloop_api_client/resources/devboxes/logs.py">list</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/log_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/devbox_logs_list_view.py">DevboxLogsListView</a></code>
|
|
86
86
|
|
|
87
87
|
## Executions
|
|
88
88
|
|
|
89
89
|
Methods:
|
|
90
90
|
|
|
91
91
|
- <code title="get /v1/devboxes/{id}/executions/{execution_id}">client.devboxes.executions.<a href="./src/runloop_api_client/resources/devboxes/executions.py">retrieve</a>(execution_id, \*, id, \*\*<a href="src/runloop_api_client/types/devboxes/execution_retrieve_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_async_execution_detail_view.py">DevboxAsyncExecutionDetailView</a></code>
|
|
92
|
+
- <code title="post /v1/devboxes/{id}/execute_async">client.devboxes.executions.<a href="./src/runloop_api_client/resources/devboxes/executions.py">execute_async</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/execution_execute_async_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_async_execution_detail_view.py">DevboxAsyncExecutionDetailView</a></code>
|
|
92
93
|
- <code title="post /v1/devboxes/{id}/execute_sync">client.devboxes.executions.<a href="./src/runloop_api_client/resources/devboxes/executions.py">execute_sync</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/execution_execute_sync_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_execution_detail_view.py">DevboxExecutionDetailView</a></code>
|
|
93
94
|
- <code title="post /v1/devboxes/{id}/executions/{execution_id}/kill">client.devboxes.executions.<a href="./src/runloop_api_client/resources/devboxes/executions.py">kill</a>(execution_id, \*, id) -> <a href="./src/runloop_api_client/types/devbox_async_execution_detail_view.py">DevboxAsyncExecutionDetailView</a></code>
|
|
94
95
|
|
|
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.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/__init__.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_base_client.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_client.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_compat.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_constants.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_exceptions.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_files.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_models.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_resource.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_response.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_streaming.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_logs.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → 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.0a18 → 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.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_typing.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → runloop_api_client-0.1.0a20}/src/runloop_api_client/_utils/_utils.py
RENAMED
|
File without changes
|
{runloop_api_client-0.1.0a18 → 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
|
|
@@ -300,8 +308,14 @@ class DevboxesResource(SyncAPIResource):
|
|
|
300
308
|
if not id:
|
|
301
309
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
302
310
|
return self._post(
|
|
303
|
-
f"/v1/devboxes/{id}/
|
|
304
|
-
body=maybe_transform(
|
|
311
|
+
f"/v1/devboxes/{id}/execute_async",
|
|
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
|
|
@@ -758,9 +788,13 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
758
788
|
if not id:
|
|
759
789
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
760
790
|
return await self._post(
|
|
761
|
-
f"/v1/devboxes/{id}/
|
|
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
|
),
|