runloop-api-client 0.12.0__tar.gz → 0.14.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.14.0/.release-please-manifest.json +3 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/CHANGELOG.md +52 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/PKG-INFO +67 -5
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/README.md +66 -4
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/api.md +73 -62
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/mypy.ini +1 -1
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/pyproject.toml +2 -2
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/requirements-dev.lock +5 -5
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/requirements.lock +2 -2
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_base_client.py +6 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_client.py +22 -18
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_models.py +4 -4
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_response.py +7 -1
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_version.py +1 -1
- runloop_api_client-0.14.0/src/runloop_api_client/lib/polling.py +67 -0
- runloop_api_client-0.14.0/src/runloop_api_client/lib/polling_async.py +56 -0
- runloop_api_client-0.14.0/src/runloop_api_client/pagination.py +247 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/__init__.py +26 -26
- runloop_api_client-0.14.0/src/runloop_api_client/resources/benchmarks/__init__.py +33 -0
- runloop_api_client-0.14.0/src/runloop_api_client/resources/benchmarks/benchmarks.py +532 -0
- runloop_api_client-0.12.0/src/runloop_api_client/resources/functions/invocations.py → runloop_api_client-0.14.0/src/runloop_api_client/resources/benchmarks/runs.py +108 -100
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/blueprints.py +92 -64
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/devboxes/devboxes.py +983 -234
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/devboxes/executions.py +210 -44
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/devboxes/logs.py +6 -6
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/devboxes/lsp.py +194 -26
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/repositories.py +66 -28
- runloop_api_client-0.14.0/src/runloop_api_client/resources/scenarios/__init__.py +33 -0
- runloop_api_client-0.14.0/src/runloop_api_client/resources/scenarios/runs.py +457 -0
- runloop_api_client-0.14.0/src/runloop_api_client/resources/scenarios/scenarios.py +567 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/__init__.py +30 -10
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_create_params.py +16 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_list_params.py +15 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_list_view.py +17 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_run_list_view.py +17 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_run_view.py +22 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_start_run_params.py +16 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmark_view.py +20 -0
- {runloop_api_client-0.12.0/src/runloop_api_client/types/projects → runloop_api_client-0.14.0/src/runloop_api_client/types/benchmarks}/__init__.py +2 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/benchmarks/run_list_params.py +15 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_build_parameters.py +1 -1
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_create_params.py +7 -7
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_list_params.py +2 -2
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_preview_params.py +7 -7
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_create_params.py +26 -18
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +2 -2
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_download_file_params.py +4 -1
- runloop_api_client-0.14.0/src/runloop_api_client/types/devbox_execute_async_params.py +25 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/devbox_execute_sync_params.py +25 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/devbox_list_disk_snapshots_params.py +18 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/devbox_list_params.py +20 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +4 -1
- runloop_api_client-0.14.0/src/runloop_api_client/types/devbox_remove_tunnel_params.py +12 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +3 -3
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_snapshot_view.py +3 -5
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_upload_file_params.py +7 -3
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_view.py +20 -11
- runloop_api_client-0.14.0/src/runloop_api_client/types/devbox_write_file_contents_params.py +18 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/code_segment_info_response.py +3 -2
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/document_symbol.py +1 -1
- runloop_api_client-0.14.0/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +25 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +25 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +1 -1
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/log_list_params.py +1 -1
- runloop_api_client-0.14.0/src/runloop_api_client/types/input_context_parameters.py +11 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/input_context_parameters_param.py +12 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/repository_connection_view.py +2 -2
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/repository_list_params.py +2 -2
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_create_params.py +26 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_environment_parameters.py +18 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_environment_parameters_param.py +19 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_list_params.py +15 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_list_view.py +17 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_run_list_view.py +17 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_run_view.py +32 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_start_run_params.py +19 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_view.py +27 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenarios/__init__.py +5 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scenarios/run_list_params.py +15 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_contract_parameters.py +13 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_contract_parameters_param.py +15 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_contract_result_view.py +16 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_function_parameters.py +25 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_function_parameters_param.py +26 -0
- runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_function_result_view.py +17 -0
- {runloop_api_client-0.12.0/src/runloop_api_client/types/shared_params → runloop_api_client-0.14.0/src/runloop_api_client/types/shared}/__init__.py +1 -0
- {runloop_api_client-0.12.0/src/runloop_api_client/types → runloop_api_client-0.14.0/src/runloop_api_client/types/shared}/code_mount_parameters.py +1 -1
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/shared/launch_parameters.py +2 -1
- runloop_api_client-0.14.0/src/runloop_api_client/types/shared_params/__init__.py +5 -0
- runloop_api_client-0.12.0/src/runloop_api_client/types/code_mount_parameters_param.py → runloop_api_client-0.14.0/src/runloop_api_client/types/shared_params/code_mount_parameters.py +5 -4
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +8 -7
- runloop_api_client-0.14.0/tests/api_resources/benchmarks/test_runs.py +240 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/devboxes/test_executions.py +26 -26
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/devboxes/test_lsp.py +54 -54
- runloop_api_client-0.14.0/tests/api_resources/scenarios/test_runs.py +316 -0
- runloop_api_client-0.14.0/tests/api_resources/test_benchmarks.py +324 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/test_blueprints.py +9 -9
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/test_devboxes.py +236 -62
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/test_repositories.py +9 -9
- runloop_api_client-0.14.0/tests/api_resources/test_scenarios.py +408 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_client.py +72 -7
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_models.py +10 -0
- runloop_api_client-0.12.0/.release-please-manifest.json +0 -3
- runloop_api_client-0.12.0/src/runloop_api_client/resources/functions/__init__.py +0 -33
- runloop_api_client-0.12.0/src/runloop_api_client/resources/functions/functions.py +0 -395
- runloop_api_client-0.12.0/src/runloop_api_client/resources/projects/__init__.py +0 -33
- runloop_api_client-0.12.0/src/runloop_api_client/resources/projects/logs.py +0 -163
- runloop_api_client-0.12.0/src/runloop_api_client/resources/projects/projects.py +0 -175
- runloop_api_client-0.12.0/src/runloop_api_client/types/devbox_disk_snapshots_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/devbox_execute_async_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/devbox_list_params.py +0 -18
- runloop_api_client-0.12.0/src/runloop_api_client/types/devbox_write_file_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/function_invoke_async_params.py +0 -23
- runloop_api_client-0.12.0/src/runloop_api_client/types/function_invoke_sync_params.py +0 -23
- runloop_api_client-0.12.0/src/runloop_api_client/types/function_list_view.py +0 -20
- runloop_api_client-0.12.0/src/runloop_api_client/types/functions/__init__.py +0 -6
- runloop_api_client-0.12.0/src/runloop_api_client/types/functions/function_invocation_list_view.py +0 -47
- runloop_api_client-0.12.0/src/runloop_api_client/types/functions/invocation_list_params.py +0 -15
- runloop_api_client-0.12.0/src/runloop_api_client/types/project_list_view.py +0 -30
- runloop_api_client-0.12.0/src/runloop_api_client/types/shared/__init__.py +0 -8
- runloop_api_client-0.12.0/src/runloop_api_client/types/shared/function_invocation_execution_detail_view.py +0 -42
- runloop_api_client-0.12.0/src/runloop_api_client/types/shared/project_logs_view.py +0 -22
- runloop_api_client-0.12.0/tests/api_resources/functions/test_invocations.py +0 -241
- runloop_api_client-0.12.0/tests/api_resources/projects/test_logs.py +0 -98
- runloop_api_client-0.12.0/tests/api_resources/test_functions.py +0 -325
- runloop_api_client-0.12.0/tests/api_resources/test_projects.py +0 -72
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/.gitignore +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/LICENSE +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/SECURITY.md +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/bin/check-release-environment +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/bin/publish-pypi +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/examples/.keep +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/noxfile.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/release-please-config.json +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_create_tunnel_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_code_action.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_command.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_command_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_diagnostic.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_diagnostic_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_location.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_markup_content.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_parameter_information.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_range.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_range_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_signature.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_workspace_edit.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/base_workspace_edit_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/code_action_application_result.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/code_action_context_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/code_action_kind.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/code_action_trigger_kind.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/code_description_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/diagnostic_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/diagnostic_related_information_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/diagnostic_severity.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/diagnostic_tag.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/diagnostics_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/document_uri.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/file_contents_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/file_path.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/file_uri.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/health_status_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/integer.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/l_sp_any_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/location_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_code_actions_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_file_definition_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_file_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_files_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_formatting_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_references_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/position.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/position_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/range.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/range_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/signature_help_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/symbol_kind.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/symbol_tag.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/symbol_type.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/text_edit.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/text_edit_param.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/u_ri.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/uinteger.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/devboxes/watched_file_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/repository_connection_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/repository_create_params.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/repository_version_details.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/repository_version_list_view.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/shared/after_idle.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/types/shared_params/after_idle.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.12.0/tests/api_resources/devboxes → runloop_api_client-0.14.0/tests/api_resources/benchmarks}/__init__.py +0 -0
- {runloop_api_client-0.12.0/tests/api_resources/functions → runloop_api_client-0.14.0/tests/api_resources/devboxes}/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/api_resources/devboxes/test_logs.py +0 -0
- {runloop_api_client-0.12.0/tests/api_resources/projects → runloop_api_client-0.14.0/tests/api_resources/scenarios}/__init__.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/conftest.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_files.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_qs.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_response.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_transform.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.0 (2025-01-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.13.0...v0.14.0](https://github.com/runloopai/api-client-python/compare/v0.13.0...v0.14.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#501](https://github.com/runloopai/api-client-python/issues/501)) ([cb1f8ac](https://github.com/runloopai/api-client-python/commit/cb1f8ac9e6ea44e33db8a4739cbb325a982840f4))
|
|
10
|
+
* **api:** api update ([#502](https://github.com/runloopai/api-client-python/issues/502)) ([22d84a8](https://github.com/runloopai/api-client-python/commit/22d84a8727e147d26d4bfd82ca26a1ac8d32365f))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **tests:** make test_get_platform less flaky ([#500](https://github.com/runloopai/api-client-python/issues/500)) ([394d017](https://github.com/runloopai/api-client-python/commit/394d0172530ea1284173d3fd04a3a8a1f1dd78f9))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Chores
|
|
19
|
+
|
|
20
|
+
* **internal:** codegen related update ([#497](https://github.com/runloopai/api-client-python/issues/497)) ([207a88e](https://github.com/runloopai/api-client-python/commit/207a88ed4bed2b87e10d15c49002661f1cf84f1c))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
* **raw responses:** fix duplicate `the` ([#499](https://github.com/runloopai/api-client-python/issues/499)) ([80e393c](https://github.com/runloopai/api-client-python/commit/80e393c1c87319b6886cef1c2806c2ce8e467a54))
|
|
26
|
+
|
|
27
|
+
## 0.13.0 (2025-01-15)
|
|
28
|
+
|
|
29
|
+
Full Changelog: [v0.12.0...v0.13.0](https://github.com/runloopai/api-client-python/compare/v0.12.0...v0.13.0)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* add helpers for common polling operations ([97891c7](https://github.com/runloopai/api-client-python/commit/97891c7cf8be7b9192c5dbcfc35fc93cb3490d04))
|
|
34
|
+
* **api:** api update ([#481](https://github.com/runloopai/api-client-python/issues/481)) ([7a8d8a8](https://github.com/runloopai/api-client-python/commit/7a8d8a8ba1119fd43ee4d40127fc486f0c626cb8))
|
|
35
|
+
* **api:** manual updates ([#490](https://github.com/runloopai/api-client-python/issues/490)) ([bcc441e](https://github.com/runloopai/api-client-python/commit/bcc441ed2706379994b7ef27b6104d2cb47a9095))
|
|
36
|
+
* **api:** manual updates ([#492](https://github.com/runloopai/api-client-python/issues/492)) ([96e2419](https://github.com/runloopai/api-client-python/commit/96e2419332dbd2c65367730d0d4186c31e76ed32))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* **client:** only call .close() when needed ([#484](https://github.com/runloopai/api-client-python/issues/484)) ([55bf004](https://github.com/runloopai/api-client-python/commit/55bf004101e86ebdb01db4b9ad8661d619a777bb))
|
|
42
|
+
* correctly handle deserialising `cls` fields ([#489](https://github.com/runloopai/api-client-python/issues/489)) ([2b2a573](https://github.com/runloopai/api-client-python/commit/2b2a5736c16a985e4b8e33313b4dcde8fc10dbca))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Chores
|
|
46
|
+
|
|
47
|
+
* **internal:** bump httpx dependency ([#483](https://github.com/runloopai/api-client-python/issues/483)) ([dcd5be5](https://github.com/runloopai/api-client-python/commit/dcd5be5065ed52f1172d2fa813d6a5ff64767de6))
|
|
48
|
+
* **internal:** codegen related update ([#488](https://github.com/runloopai/api-client-python/issues/488)) ([af72728](https://github.com/runloopai/api-client-python/commit/af727286ef5018e27be7d564078d1c0305f7d9e1))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Documentation
|
|
52
|
+
|
|
53
|
+
* fix typos ([#487](https://github.com/runloopai/api-client-python/issues/487)) ([440e80b](https://github.com/runloopai/api-client-python/commit/440e80b9e28a64edec079bf72d27c3b188997574))
|
|
54
|
+
|
|
3
55
|
## 0.12.0 (2025-01-07)
|
|
4
56
|
|
|
5
57
|
Full Changelog: [v0.11.0...v0.12.0](https://github.com/runloopai/api-client-python/compare/v0.11.0...v0.12.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.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
|
|
@@ -105,6 +105,69 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
105
105
|
|
|
106
106
|
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
|
107
107
|
|
|
108
|
+
## Pagination
|
|
109
|
+
|
|
110
|
+
List methods in the Runloop API are paginated.
|
|
111
|
+
|
|
112
|
+
This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
from runloop_api_client import Runloop
|
|
116
|
+
|
|
117
|
+
client = Runloop()
|
|
118
|
+
|
|
119
|
+
all_devboxes = []
|
|
120
|
+
# Automatically fetches more pages as needed.
|
|
121
|
+
for devbox in client.devboxes.list():
|
|
122
|
+
# Do something with devbox here
|
|
123
|
+
all_devboxes.append(devbox)
|
|
124
|
+
print(all_devboxes)
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Or, asynchronously:
|
|
128
|
+
|
|
129
|
+
```python
|
|
130
|
+
import asyncio
|
|
131
|
+
from runloop_api_client import AsyncRunloop
|
|
132
|
+
|
|
133
|
+
client = AsyncRunloop()
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
async def main() -> None:
|
|
137
|
+
all_devboxes = []
|
|
138
|
+
# Iterate through items across all pages, issuing requests as needed.
|
|
139
|
+
async for devbox in client.devboxes.list():
|
|
140
|
+
all_devboxes.append(devbox)
|
|
141
|
+
print(all_devboxes)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
asyncio.run(main())
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Alternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
first_page = await client.devboxes.list()
|
|
151
|
+
if first_page.has_next_page():
|
|
152
|
+
print(f"will fetch next page using these details: {first_page.next_page_info()}")
|
|
153
|
+
next_page = await first_page.get_next_page()
|
|
154
|
+
print(f"number of items we just fetched: {len(next_page.devboxes)}")
|
|
155
|
+
|
|
156
|
+
# Remove `await` for non-async usage.
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Or just work directly with the returned data:
|
|
160
|
+
|
|
161
|
+
```python
|
|
162
|
+
first_page = await client.devboxes.list()
|
|
163
|
+
|
|
164
|
+
print(f"next page cursor: {first_page.starting_after}") # => "next page cursor: ..."
|
|
165
|
+
for devbox in first_page.devboxes:
|
|
166
|
+
print(devbox.id)
|
|
167
|
+
|
|
168
|
+
# Remove `await` for non-async usage.
|
|
169
|
+
```
|
|
170
|
+
|
|
108
171
|
## Handling errors
|
|
109
172
|
|
|
110
173
|
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `runloop_api_client.APIConnectionError` is raised.
|
|
@@ -133,7 +196,7 @@ except runloop_api_client.APIStatusError as e:
|
|
|
133
196
|
print(e.response)
|
|
134
197
|
```
|
|
135
198
|
|
|
136
|
-
Error codes are as
|
|
199
|
+
Error codes are as follows:
|
|
137
200
|
|
|
138
201
|
| Status Code | Error Type |
|
|
139
202
|
| ----------- | -------------------------- |
|
|
@@ -264,8 +327,7 @@ If you need to access undocumented endpoints, params, or response properties, th
|
|
|
264
327
|
#### Undocumented endpoints
|
|
265
328
|
|
|
266
329
|
To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
|
|
267
|
-
http verbs. Options on the client will be respected (such as retries)
|
|
268
|
-
request.
|
|
330
|
+
http verbs. Options on the client will be respected (such as retries) when making this request.
|
|
269
331
|
|
|
270
332
|
```py
|
|
271
333
|
import httpx
|
|
@@ -337,7 +399,7 @@ with Runloop() as client:
|
|
|
337
399
|
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
|
|
338
400
|
|
|
339
401
|
1. Changes that only affect static types, without breaking runtime behavior.
|
|
340
|
-
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals)_
|
|
402
|
+
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
|
|
341
403
|
3. Changes that we do not expect to impact the vast majority of users in practice.
|
|
342
404
|
|
|
343
405
|
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
|
|
@@ -73,6 +73,69 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
73
73
|
|
|
74
74
|
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
|
75
75
|
|
|
76
|
+
## Pagination
|
|
77
|
+
|
|
78
|
+
List methods in the Runloop API are paginated.
|
|
79
|
+
|
|
80
|
+
This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
from runloop_api_client import Runloop
|
|
84
|
+
|
|
85
|
+
client = Runloop()
|
|
86
|
+
|
|
87
|
+
all_devboxes = []
|
|
88
|
+
# Automatically fetches more pages as needed.
|
|
89
|
+
for devbox in client.devboxes.list():
|
|
90
|
+
# Do something with devbox here
|
|
91
|
+
all_devboxes.append(devbox)
|
|
92
|
+
print(all_devboxes)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Or, asynchronously:
|
|
96
|
+
|
|
97
|
+
```python
|
|
98
|
+
import asyncio
|
|
99
|
+
from runloop_api_client import AsyncRunloop
|
|
100
|
+
|
|
101
|
+
client = AsyncRunloop()
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
async def main() -> None:
|
|
105
|
+
all_devboxes = []
|
|
106
|
+
# Iterate through items across all pages, issuing requests as needed.
|
|
107
|
+
async for devbox in client.devboxes.list():
|
|
108
|
+
all_devboxes.append(devbox)
|
|
109
|
+
print(all_devboxes)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
asyncio.run(main())
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Alternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:
|
|
116
|
+
|
|
117
|
+
```python
|
|
118
|
+
first_page = await client.devboxes.list()
|
|
119
|
+
if first_page.has_next_page():
|
|
120
|
+
print(f"will fetch next page using these details: {first_page.next_page_info()}")
|
|
121
|
+
next_page = await first_page.get_next_page()
|
|
122
|
+
print(f"number of items we just fetched: {len(next_page.devboxes)}")
|
|
123
|
+
|
|
124
|
+
# Remove `await` for non-async usage.
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Or just work directly with the returned data:
|
|
128
|
+
|
|
129
|
+
```python
|
|
130
|
+
first_page = await client.devboxes.list()
|
|
131
|
+
|
|
132
|
+
print(f"next page cursor: {first_page.starting_after}") # => "next page cursor: ..."
|
|
133
|
+
for devbox in first_page.devboxes:
|
|
134
|
+
print(devbox.id)
|
|
135
|
+
|
|
136
|
+
# Remove `await` for non-async usage.
|
|
137
|
+
```
|
|
138
|
+
|
|
76
139
|
## Handling errors
|
|
77
140
|
|
|
78
141
|
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `runloop_api_client.APIConnectionError` is raised.
|
|
@@ -101,7 +164,7 @@ except runloop_api_client.APIStatusError as e:
|
|
|
101
164
|
print(e.response)
|
|
102
165
|
```
|
|
103
166
|
|
|
104
|
-
Error codes are as
|
|
167
|
+
Error codes are as follows:
|
|
105
168
|
|
|
106
169
|
| Status Code | Error Type |
|
|
107
170
|
| ----------- | -------------------------- |
|
|
@@ -232,8 +295,7 @@ If you need to access undocumented endpoints, params, or response properties, th
|
|
|
232
295
|
#### Undocumented endpoints
|
|
233
296
|
|
|
234
297
|
To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
|
|
235
|
-
http verbs. Options on the client will be respected (such as retries)
|
|
236
|
-
request.
|
|
298
|
+
http verbs. Options on the client will be respected (such as retries) when making this request.
|
|
237
299
|
|
|
238
300
|
```py
|
|
239
301
|
import httpx
|
|
@@ -305,7 +367,7 @@ with Runloop() as client:
|
|
|
305
367
|
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
|
|
306
368
|
|
|
307
369
|
1. Changes that only affect static types, without breaking runtime behavior.
|
|
308
|
-
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals)_
|
|
370
|
+
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
|
|
309
371
|
3. Changes that we do not expect to impact the vast majority of users in practice.
|
|
310
372
|
|
|
311
373
|
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
# Shared Types
|
|
2
2
|
|
|
3
|
+
```python
|
|
4
|
+
from runloop_api_client.types import AfterIdle, CodeMountParameters, LaunchParameters
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
# Benchmarks
|
|
8
|
+
|
|
9
|
+
Types:
|
|
10
|
+
|
|
3
11
|
```python
|
|
4
12
|
from runloop_api_client.types import (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
13
|
+
BenchmarkCreateParameters,
|
|
14
|
+
BenchmarkListView,
|
|
15
|
+
BenchmarkRunListView,
|
|
16
|
+
BenchmarkRunView,
|
|
17
|
+
BenchmarkView,
|
|
18
|
+
StartBenchmarkRunParameters,
|
|
9
19
|
)
|
|
10
20
|
```
|
|
11
21
|
|
|
22
|
+
Methods:
|
|
23
|
+
|
|
24
|
+
- <code title="post /v1/benchmarks">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">create</a>(\*\*<a href="src/runloop_api_client/types/benchmark_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/benchmark_view.py">BenchmarkView</a></code>
|
|
25
|
+
- <code title="get /v1/benchmarks/{id}">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/benchmark_view.py">BenchmarkView</a></code>
|
|
26
|
+
- <code title="get /v1/benchmarks">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">list</a>(\*\*<a href="src/runloop_api_client/types/benchmark_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/benchmark_list_view.py">BenchmarkListView</a></code>
|
|
27
|
+
- <code title="post /v1/benchmarks/start_run">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">start_run</a>(\*\*<a href="src/runloop_api_client/types/benchmark_start_run_params.py">params</a>) -> <a href="./src/runloop_api_client/types/benchmark_run_view.py">BenchmarkRunView</a></code>
|
|
28
|
+
|
|
29
|
+
## Runs
|
|
30
|
+
|
|
31
|
+
Methods:
|
|
32
|
+
|
|
33
|
+
- <code title="get /v1/benchmarks/runs/{id}">client.benchmarks.runs.<a href="./src/runloop_api_client/resources/benchmarks/runs.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/benchmark_run_view.py">BenchmarkRunView</a></code>
|
|
34
|
+
- <code title="get /v1/benchmarks/runs">client.benchmarks.runs.<a href="./src/runloop_api_client/resources/benchmarks/runs.py">list</a>(\*\*<a href="src/runloop_api_client/types/benchmarks/run_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/benchmark_run_list_view.py">BenchmarkRunListView</a></code>
|
|
35
|
+
- <code title="post /v1/benchmarks/runs/{id}/complete">client.benchmarks.runs.<a href="./src/runloop_api_client/resources/benchmarks/runs.py">complete</a>(id) -> <a href="./src/runloop_api_client/types/benchmark_run_view.py">BenchmarkRunView</a></code>
|
|
36
|
+
|
|
12
37
|
# Blueprints
|
|
13
38
|
|
|
14
39
|
Types:
|
|
@@ -28,18 +53,10 @@ Methods:
|
|
|
28
53
|
|
|
29
54
|
- <code title="post /v1/blueprints">client.blueprints.<a href="./src/runloop_api_client/resources/blueprints.py">create</a>(\*\*<a href="src/runloop_api_client/types/blueprint_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/blueprint_view.py">BlueprintView</a></code>
|
|
30
55
|
- <code title="get /v1/blueprints/{id}">client.blueprints.<a href="./src/runloop_api_client/resources/blueprints.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/blueprint_view.py">BlueprintView</a></code>
|
|
31
|
-
- <code title="get /v1/blueprints">client.blueprints.<a href="./src/runloop_api_client/resources/blueprints.py">list</a>(\*\*<a href="src/runloop_api_client/types/blueprint_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/
|
|
56
|
+
- <code title="get /v1/blueprints">client.blueprints.<a href="./src/runloop_api_client/resources/blueprints.py">list</a>(\*\*<a href="src/runloop_api_client/types/blueprint_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/blueprint_view.py">SyncBlueprintsCursorIDPage[BlueprintView]</a></code>
|
|
32
57
|
- <code title="get /v1/blueprints/{id}/logs">client.blueprints.<a href="./src/runloop_api_client/resources/blueprints.py">logs</a>(id) -> <a href="./src/runloop_api_client/types/blueprint_build_logs_list_view.py">BlueprintBuildLogsListView</a></code>
|
|
33
58
|
- <code title="post /v1/blueprints/preview">client.blueprints.<a href="./src/runloop_api_client/resources/blueprints.py">preview</a>(\*\*<a href="src/runloop_api_client/types/blueprint_preview_params.py">params</a>) -> <a href="./src/runloop_api_client/types/blueprint_preview_view.py">BlueprintPreviewView</a></code>
|
|
34
59
|
|
|
35
|
-
# Code
|
|
36
|
-
|
|
37
|
-
Types:
|
|
38
|
-
|
|
39
|
-
```python
|
|
40
|
-
from runloop_api_client.types import CodeMountParameters
|
|
41
|
-
```
|
|
42
|
-
|
|
43
60
|
# Devboxes
|
|
44
61
|
|
|
45
62
|
Types:
|
|
@@ -54,6 +71,7 @@ from runloop_api_client.types import (
|
|
|
54
71
|
DevboxTunnelView,
|
|
55
72
|
DevboxView,
|
|
56
73
|
DevboxCreateSSHKeyResponse,
|
|
74
|
+
DevboxDeleteDiskSnapshotResponse,
|
|
57
75
|
DevboxKeepAliveResponse,
|
|
58
76
|
DevboxReadFileContentsResponse,
|
|
59
77
|
DevboxUploadFileResponse,
|
|
@@ -64,21 +82,23 @@ Methods:
|
|
|
64
82
|
|
|
65
83
|
- <code title="post /v1/devboxes">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">create</a>(\*\*<a href="src/runloop_api_client/types/devbox_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_view.py">DevboxView</a></code>
|
|
66
84
|
- <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>
|
|
67
|
-
- <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/
|
|
85
|
+
- <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_view.py">SyncDevboxesCursorIDPage[DevboxView]</a></code>
|
|
68
86
|
- <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>
|
|
69
87
|
- <code title="post /v1/devboxes/{id}/create_tunnel">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">create_tunnel</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_create_tunnel_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_tunnel_view.py">DevboxTunnelView</a></code>
|
|
70
|
-
- <code title="
|
|
88
|
+
- <code title="post /v1/devboxes/disk_snapshots/{id}/delete">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">delete_disk_snapshot</a>(id) -> <a href="./src/runloop_api_client/types/devbox_delete_disk_snapshot_response.py">object</a></code>
|
|
71
89
|
- <code title="post /v1/devboxes/{id}/download_file">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">download_file</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_download_file_params.py">params</a>) -> BinaryAPIResponse</code>
|
|
72
90
|
- <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>
|
|
73
91
|
- <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>
|
|
74
92
|
- <code title="post /v1/devboxes/{id}/keep_alive">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">keep_alive</a>(id) -> <a href="./src/runloop_api_client/types/devbox_keep_alive_response.py">object</a></code>
|
|
93
|
+
- <code title="get /v1/devboxes/disk_snapshots">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">list_disk_snapshots</a>(\*\*<a href="src/runloop_api_client/types/devbox_list_disk_snapshots_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_snapshot_view.py">SyncDiskSnapshotsCursorIDPage[DevboxSnapshotView]</a></code>
|
|
75
94
|
- <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>
|
|
95
|
+
- <code title="post /v1/devboxes/{id}/remove_tunnel">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">remove_tunnel</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_remove_tunnel_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_tunnel_view.py">DevboxTunnelView</a></code>
|
|
76
96
|
- <code title="post /v1/devboxes/{id}/resume">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">resume</a>(id) -> <a href="./src/runloop_api_client/types/devbox_view.py">DevboxView</a></code>
|
|
77
97
|
- <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>
|
|
78
98
|
- <code title="post /v1/devboxes/{id}/snapshot_disk">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">snapshot_disk</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_snapshot_disk_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_snapshot_view.py">DevboxSnapshotView</a></code>
|
|
79
99
|
- <code title="post /v1/devboxes/{id}/suspend">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">suspend</a>(id) -> <a href="./src/runloop_api_client/types/devbox_view.py">DevboxView</a></code>
|
|
80
100
|
- <code title="post /v1/devboxes/{id}/upload_file">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">upload_file</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_upload_file_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_upload_file_response.py">object</a></code>
|
|
81
|
-
- <code title="post /v1/devboxes/{id}/
|
|
101
|
+
- <code title="post /v1/devboxes/{id}/write_file_contents">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">write_file_contents</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_write_file_contents_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_execution_detail_view.py">DevboxExecutionDetailView</a></code>
|
|
82
102
|
|
|
83
103
|
## Lsp
|
|
84
104
|
|
|
@@ -178,75 +198,66 @@ Methods:
|
|
|
178
198
|
|
|
179
199
|
Methods:
|
|
180
200
|
|
|
181
|
-
- <code title="get /v1/devboxes/{
|
|
201
|
+
- <code title="get /v1/devboxes/{devbox_id}/executions/{execution_id}">client.devboxes.executions.<a href="./src/runloop_api_client/resources/devboxes/executions.py">retrieve</a>(execution_id, \*, devbox_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>
|
|
182
202
|
- <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>
|
|
183
203
|
- <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>
|
|
184
|
-
- <code title="post /v1/devboxes/{
|
|
204
|
+
- <code title="post /v1/devboxes/{devbox_id}/executions/{execution_id}/kill">client.devboxes.executions.<a href="./src/runloop_api_client/resources/devboxes/executions.py">kill</a>(execution_id, \*, devbox_id) -> <a href="./src/runloop_api_client/types/devbox_async_execution_detail_view.py">DevboxAsyncExecutionDetailView</a></code>
|
|
185
205
|
|
|
186
|
-
#
|
|
206
|
+
# Scenarios
|
|
187
207
|
|
|
188
208
|
Types:
|
|
189
209
|
|
|
190
210
|
```python
|
|
191
211
|
from runloop_api_client.types import (
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
212
|
+
InputContextParameters,
|
|
213
|
+
ScenarioCreateParameters,
|
|
214
|
+
ScenarioEnvironmentParameters,
|
|
215
|
+
ScenarioListView,
|
|
216
|
+
ScenarioRunListView,
|
|
217
|
+
ScenarioRunView,
|
|
218
|
+
ScenarioView,
|
|
219
|
+
ScoringContractParameters,
|
|
220
|
+
ScoringContractResultView,
|
|
221
|
+
ScoringFunctionParameters,
|
|
222
|
+
ScoringFunctionResultView,
|
|
223
|
+
StartScenarioRunParameters,
|
|
197
224
|
)
|
|
198
225
|
```
|
|
199
226
|
|
|
200
227
|
Methods:
|
|
201
228
|
|
|
202
|
-
- <code title="post /v1/
|
|
203
|
-
- <code title="get /v1/
|
|
204
|
-
- <code title="get /v1/
|
|
205
|
-
- <code title="post /v1/
|
|
206
|
-
- <code title="get /v1/repositories/{id}/versions">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">versions</a>(id) -> <a href="./src/runloop_api_client/types/repository_version_list_view.py">RepositoryVersionListView</a></code>
|
|
207
|
-
|
|
208
|
-
# Functions
|
|
209
|
-
|
|
210
|
-
Types:
|
|
211
|
-
|
|
212
|
-
```python
|
|
213
|
-
from runloop_api_client.types import FunctionListView
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
Methods:
|
|
217
|
-
|
|
218
|
-
- <code title="get /v1/functions">client.functions.<a href="./src/runloop_api_client/resources/functions/functions.py">list</a>() -> <a href="./src/runloop_api_client/types/function_list_view.py">FunctionListView</a></code>
|
|
219
|
-
- <code title="post /v1/functions/{project_name}/{function_name}/invoke_async">client.functions.<a href="./src/runloop_api_client/resources/functions/functions.py">invoke_async</a>(function_name, \*, project_name, \*\*<a href="src/runloop_api_client/types/function_invoke_async_params.py">params</a>) -> <a href="./src/runloop_api_client/types/shared/function_invocation_execution_detail_view.py">FunctionInvocationExecutionDetailView</a></code>
|
|
220
|
-
- <code title="post /v1/functions/{project_name}/{function_name}/invoke_sync">client.functions.<a href="./src/runloop_api_client/resources/functions/functions.py">invoke_sync</a>(function_name, \*, project_name, \*\*<a href="src/runloop_api_client/types/function_invoke_sync_params.py">params</a>) -> <a href="./src/runloop_api_client/types/shared/function_invocation_execution_detail_view.py">FunctionInvocationExecutionDetailView</a></code>
|
|
229
|
+
- <code title="post /v1/scenarios">client.scenarios.<a href="./src/runloop_api_client/resources/scenarios/scenarios.py">create</a>(\*\*<a href="src/runloop_api_client/types/scenario_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/scenario_view.py">ScenarioView</a></code>
|
|
230
|
+
- <code title="get /v1/scenarios/{id}">client.scenarios.<a href="./src/runloop_api_client/resources/scenarios/scenarios.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/scenario_view.py">ScenarioView</a></code>
|
|
231
|
+
- <code title="get /v1/scenarios">client.scenarios.<a href="./src/runloop_api_client/resources/scenarios/scenarios.py">list</a>(\*\*<a href="src/runloop_api_client/types/scenario_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/scenario_list_view.py">ScenarioListView</a></code>
|
|
232
|
+
- <code title="post /v1/scenarios/start_run">client.scenarios.<a href="./src/runloop_api_client/resources/scenarios/scenarios.py">start_run</a>(\*\*<a href="src/runloop_api_client/types/scenario_start_run_params.py">params</a>) -> <a href="./src/runloop_api_client/types/scenario_run_view.py">ScenarioRunView</a></code>
|
|
221
233
|
|
|
222
|
-
##
|
|
223
|
-
|
|
224
|
-
Types:
|
|
225
|
-
|
|
226
|
-
```python
|
|
227
|
-
from runloop_api_client.types.functions import FunctionInvocationListView, KillOperationResponse
|
|
228
|
-
```
|
|
234
|
+
## Runs
|
|
229
235
|
|
|
230
236
|
Methods:
|
|
231
237
|
|
|
232
|
-
- <code title="get /v1/
|
|
233
|
-
- <code title="get /v1/
|
|
234
|
-
- <code title="post /v1/
|
|
238
|
+
- <code title="get /v1/scenarios/runs/{id}">client.scenarios.runs.<a href="./src/runloop_api_client/resources/scenarios/runs.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/scenario_run_view.py">ScenarioRunView</a></code>
|
|
239
|
+
- <code title="get /v1/scenarios/runs">client.scenarios.runs.<a href="./src/runloop_api_client/resources/scenarios/runs.py">list</a>(\*\*<a href="src/runloop_api_client/types/scenarios/run_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/scenario_run_list_view.py">ScenarioRunListView</a></code>
|
|
240
|
+
- <code title="post /v1/scenarios/runs/{id}/complete">client.scenarios.runs.<a href="./src/runloop_api_client/resources/scenarios/runs.py">complete</a>(id) -> <a href="./src/runloop_api_client/types/scenario_run_view.py">ScenarioRunView</a></code>
|
|
241
|
+
- <code title="post /v1/scenarios/runs/{id}/score">client.scenarios.runs.<a href="./src/runloop_api_client/resources/scenarios/runs.py">score</a>(id) -> <a href="./src/runloop_api_client/types/scenario_run_view.py">ScenarioRunView</a></code>
|
|
235
242
|
|
|
236
|
-
#
|
|
243
|
+
# Repositories
|
|
237
244
|
|
|
238
245
|
Types:
|
|
239
246
|
|
|
240
247
|
```python
|
|
241
|
-
from runloop_api_client.types import
|
|
248
|
+
from runloop_api_client.types import (
|
|
249
|
+
RepositoryConnectionListView,
|
|
250
|
+
RepositoryConnectionView,
|
|
251
|
+
RepositoryVersionDetails,
|
|
252
|
+
RepositoryVersionListView,
|
|
253
|
+
RepositoryDeleteResponse,
|
|
254
|
+
)
|
|
242
255
|
```
|
|
243
256
|
|
|
244
257
|
Methods:
|
|
245
258
|
|
|
246
|
-
- <code title="
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
- <code title="get /v1/projects/{id}/logs">client.projects.logs.<a href="./src/runloop_api_client/resources/projects/logs.py">list</a>(id) -> <a href="./src/runloop_api_client/types/shared/project_logs_view.py">ProjectLogsView</a></code>
|
|
259
|
+
- <code title="post /v1/repositories">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">create</a>(\*\*<a href="src/runloop_api_client/types/repository_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/repository_connection_view.py">RepositoryConnectionView</a></code>
|
|
260
|
+
- <code title="get /v1/repositories/{id}">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">retrieve</a>(id) -> <a href="./src/runloop_api_client/types/repository_connection_view.py">RepositoryConnectionView</a></code>
|
|
261
|
+
- <code title="get /v1/repositories">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">list</a>(\*\*<a href="src/runloop_api_client/types/repository_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/repository_connection_view.py">SyncRepositoriesCursorIDPage[RepositoryConnectionView]</a></code>
|
|
262
|
+
- <code title="post /v1/repositories/{id}/delete">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">delete</a>(id) -> <a href="./src/runloop_api_client/types/repository_delete_response.py">object</a></code>
|
|
263
|
+
- <code title="get /v1/repositories/{id}/versions">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">versions</a>(id) -> <a href="./src/runloop_api_client/types/repository_version_list_view.py">RepositoryVersionListView</a></code>
|
|
@@ -41,7 +41,7 @@ cache_fine_grained = True
|
|
|
41
41
|
# ```
|
|
42
42
|
# Changing this codegen to make mypy happy would increase complexity
|
|
43
43
|
# and would not be worth it.
|
|
44
|
-
disable_error_code = func-returns-value
|
|
44
|
+
disable_error_code = func-returns-value,overload-cannot-match
|
|
45
45
|
|
|
46
46
|
# https://github.com/python/mypy/issues/12162
|
|
47
47
|
[mypy.overrides]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "runloop_api_client"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.14.0"
|
|
4
4
|
description = "The official Python library for the runloop API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "MIT"
|
|
@@ -54,7 +54,7 @@ dev-dependencies = [
|
|
|
54
54
|
"dirty-equals>=0.6.0",
|
|
55
55
|
"importlib-metadata>=6.7.0",
|
|
56
56
|
"rich>=13.7.1",
|
|
57
|
-
"nest_asyncio==1.6.0"
|
|
57
|
+
"nest_asyncio==1.6.0",
|
|
58
58
|
]
|
|
59
59
|
|
|
60
60
|
[tool.rye.scripts]
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
# all-features: true
|
|
8
8
|
# with-sources: false
|
|
9
9
|
# generate-hashes: false
|
|
10
|
+
# universal: false
|
|
10
11
|
|
|
11
12
|
-e file:.
|
|
12
13
|
annotated-types==0.6.0
|
|
@@ -35,7 +36,7 @@ h11==0.14.0
|
|
|
35
36
|
# via httpcore
|
|
36
37
|
httpcore==1.0.2
|
|
37
38
|
# via httpx
|
|
38
|
-
httpx==0.
|
|
39
|
+
httpx==0.28.1
|
|
39
40
|
# via respx
|
|
40
41
|
# via runloop-api-client
|
|
41
42
|
idna==3.4
|
|
@@ -48,7 +49,7 @@ markdown-it-py==3.0.0
|
|
|
48
49
|
# via rich
|
|
49
50
|
mdurl==0.1.2
|
|
50
51
|
# via markdown-it-py
|
|
51
|
-
mypy==1.
|
|
52
|
+
mypy==1.14.1
|
|
52
53
|
mypy-extensions==1.0.0
|
|
53
54
|
# via mypy
|
|
54
55
|
nest-asyncio==1.6.0
|
|
@@ -68,7 +69,7 @@ pydantic-core==2.27.1
|
|
|
68
69
|
# via pydantic
|
|
69
70
|
pygments==2.18.0
|
|
70
71
|
# via rich
|
|
71
|
-
pyright==1.1.
|
|
72
|
+
pyright==1.1.392.post0
|
|
72
73
|
pytest==8.3.3
|
|
73
74
|
# via pytest-asyncio
|
|
74
75
|
pytest-asyncio==0.24.0
|
|
@@ -76,7 +77,7 @@ python-dateutil==2.8.2
|
|
|
76
77
|
# via time-machine
|
|
77
78
|
pytz==2023.3.post1
|
|
78
79
|
# via dirty-equals
|
|
79
|
-
respx==0.
|
|
80
|
+
respx==0.22.0
|
|
80
81
|
rich==13.7.1
|
|
81
82
|
ruff==0.6.9
|
|
82
83
|
setuptools==68.2.2
|
|
@@ -85,7 +86,6 @@ six==1.16.0
|
|
|
85
86
|
# via python-dateutil
|
|
86
87
|
sniffio==1.3.0
|
|
87
88
|
# via anyio
|
|
88
|
-
# via httpx
|
|
89
89
|
# via runloop-api-client
|
|
90
90
|
time-machine==2.9.0
|
|
91
91
|
tomli==2.0.2
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
# all-features: true
|
|
8
8
|
# with-sources: false
|
|
9
9
|
# generate-hashes: false
|
|
10
|
+
# universal: false
|
|
10
11
|
|
|
11
12
|
-e file:.
|
|
12
13
|
annotated-types==0.6.0
|
|
@@ -25,7 +26,7 @@ h11==0.14.0
|
|
|
25
26
|
# via httpcore
|
|
26
27
|
httpcore==1.0.2
|
|
27
28
|
# via httpx
|
|
28
|
-
httpx==0.
|
|
29
|
+
httpx==0.28.1
|
|
29
30
|
# via runloop-api-client
|
|
30
31
|
idna==3.4
|
|
31
32
|
# via anyio
|
|
@@ -36,7 +37,6 @@ pydantic-core==2.27.1
|
|
|
36
37
|
# via pydantic
|
|
37
38
|
sniffio==1.3.0
|
|
38
39
|
# via anyio
|
|
39
|
-
# via httpx
|
|
40
40
|
# via runloop-api-client
|
|
41
41
|
typing-extensions==4.12.2
|
|
42
42
|
# via anyio
|
{runloop_api_client-0.12.0 → runloop_api_client-0.14.0}/src/runloop_api_client/_base_client.py
RENAMED
|
@@ -767,6 +767,9 @@ else:
|
|
|
767
767
|
|
|
768
768
|
class SyncHttpxClientWrapper(DefaultHttpxClient):
|
|
769
769
|
def __del__(self) -> None:
|
|
770
|
+
if self.is_closed:
|
|
771
|
+
return
|
|
772
|
+
|
|
770
773
|
try:
|
|
771
774
|
self.close()
|
|
772
775
|
except Exception:
|
|
@@ -1334,6 +1337,9 @@ else:
|
|
|
1334
1337
|
|
|
1335
1338
|
class AsyncHttpxClientWrapper(DefaultAsyncHttpxClient):
|
|
1336
1339
|
def __del__(self) -> None:
|
|
1340
|
+
if self.is_closed:
|
|
1341
|
+
return
|
|
1342
|
+
|
|
1337
1343
|
try:
|
|
1338
1344
|
# TODO(someday): support non asyncio runtimes here
|
|
1339
1345
|
asyncio.get_running_loop().create_task(self.aclose())
|