runloop-api-client 0.35.0__tar.gz → 0.36.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.36.0/.release-please-manifest.json +3 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/CHANGELOG.md +8 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/PKG-INFO +1 -1
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/api.md +5 -3
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/pyproject.toml +1 -1
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/devboxes.py +8 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/repositories.py +123 -21
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/__init__.py +3 -2
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_create_params.py +19 -1
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/repository_connection_view.py +0 -9
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/repository_create_params.py +3 -0
- runloop_api_client-0.36.0/src/runloop_api_client/types/repository_inspection_details.py +39 -0
- runloop_api_client-0.36.0/src/runloop_api_client/types/repository_inspection_list_view.py +13 -0
- runloop_api_client-0.36.0/src/runloop_api_client/types/repository_manifest_view.py +91 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/test_devboxes.py +8 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/test_repositories.py +101 -23
- runloop_api_client-0.35.0/.release-please-manifest.json +0 -3
- runloop_api_client-0.35.0/src/runloop_api_client/types/repository_version_details.py +0 -44
- runloop_api_client-0.35.0/src/runloop_api_client/types/repository_version_list_view.py +0 -13
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/.gitignore +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/LICENSE +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/README.md +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/SECURITY.md +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/bin/check-release-environment +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/bin/publish-pypi +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/examples/.keep +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/mypy.ini +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/noxfile.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/release-please-config.json +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/requirements-dev.lock +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/requirements.lock +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_resources_proxy.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/lib/polling.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/lib/polling_async.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/pagination.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/benchmarks/benchmarks.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/benchmarks/runs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/browsers.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/computers.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/disk_snapshots.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/executions.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/devboxes/lsp.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/scenarios/runs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/scenarios/scenarios.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/resources/scenarios/scorers.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_create_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_list_public_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_run_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_run_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_start_run_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_update_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmark_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/benchmarks/run_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_create_tunnel_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_download_file_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_execute_async_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_list_disk_snapshots_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_remove_tunnel_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_snapshot_disk_async_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_snapshot_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_update_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devbox_write_file_contents_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_code_action.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_command.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_command_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_diagnostic.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_diagnostic_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_location.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_markup_content.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_parameter_information.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_range.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_range_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_signature.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_workspace_edit.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/base_workspace_edit_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/browser_create_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/browser_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_action_application_result.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_action_context_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_action_kind.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_action_trigger_kind.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_actions_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_description_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/code_segment_info_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_create_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/computer_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/devbox_snapshot_async_status_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/diagnostic_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/diagnostic_related_information_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/diagnostic_severity.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/diagnostic_tag.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/diagnostics_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/disk_snapshot_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/disk_snapshot_update_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/document_symbol.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/document_symbol_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/document_uri.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/file_contents_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/file_definition_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/file_path.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/file_uri.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/formatting_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/health_status_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/integer.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/l_sp_any_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/location_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/log_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_code_actions_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_file_definition_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_file_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_files_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_formatting_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_references_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/position.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/position_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/range.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/range_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/references_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/signature_help_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/symbol_kind.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/symbol_tag.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/symbol_type.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/text_edit.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/text_edit_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/u_ri.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/uinteger.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/devboxes/watched_file_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/input_context.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/input_context_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/repository_connection_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/repository_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_create_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_environment.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_environment_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_list_public_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_run_list_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_run_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_start_run_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_update_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenario_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/run_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_create_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_create_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_list_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_list_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_retrieve_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_update_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_update_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_validate_params.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scenarios/scorer_validate_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scoring_contract.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scoring_contract_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scoring_contract_result_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scoring_function.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scoring_function_param.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/scoring_function_result_view.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared/after_idle.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared/code_mount_parameters.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared/launch_parameters.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared_params/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared_params/after_idle.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared_params/code_mount_parameters.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/benchmarks/test_runs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/test_browsers.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/test_computers.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/test_disk_snapshots.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/test_executions.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/test_logs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/devboxes/test_lsp.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/scenarios/test_runs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/scenarios/test_scorers.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/test_benchmarks.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/test_blueprints.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/test_scenarios.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/conftest.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_client.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_files.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_models.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_qs.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_response.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_transform.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/utils.py +0 -0
- {runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/uv.lock +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.36.0 (2025-06-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.35.0...v0.36.0](https://github.com/runloopai/api-client-python/compare/v0.35.0...v0.36.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([43e693c](https://github.com/runloopai/api-client-python/commit/43e693ce72c8000ee98ae50925a05b8163e04c15))
|
|
10
|
+
|
|
3
11
|
## 0.35.0 (2025-05-30)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.34.1...v0.35.0](https://github.com/runloopai/api-client-python/compare/v0.34.1...v0.35.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.36.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
|
|
@@ -323,8 +323,9 @@ Types:
|
|
|
323
323
|
from runloop_api_client.types import (
|
|
324
324
|
RepositoryConnectionListView,
|
|
325
325
|
RepositoryConnectionView,
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
RepositoryInspectionDetails,
|
|
327
|
+
RepositoryInspectionListView,
|
|
328
|
+
RepositoryManifestView,
|
|
328
329
|
)
|
|
329
330
|
```
|
|
330
331
|
|
|
@@ -334,4 +335,5 @@ Methods:
|
|
|
334
335
|
- <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>
|
|
335
336
|
- <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>
|
|
336
337
|
- <code title="post /v1/repositories/{id}/delete">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">delete</a>(id) -> object</code>
|
|
337
|
-
- <code title="get /v1/repositories/{id}/
|
|
338
|
+
- <code title="get /v1/repositories/{id}/inspections">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">list_inspections</a>(id) -> <a href="./src/runloop_api_client/types/repository_inspection_list_view.py">RepositoryInspectionListView</a></code>
|
|
339
|
+
- <code title="post /v1/repositories/{id}/refresh">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">refresh</a>(id) -> object</code>
|
|
@@ -170,6 +170,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
170
170
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
171
171
|
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
172
172
|
prebuilt: Optional[str] | NotGiven = NOT_GIVEN,
|
|
173
|
+
repository_connection: Optional[devbox_create_params.RepositoryConnection] | NotGiven = NOT_GIVEN,
|
|
173
174
|
snapshot_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
174
175
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
175
176
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -215,6 +216,8 @@ class DevboxesResource(SyncAPIResource):
|
|
|
215
216
|
prebuilt: Reference to prebuilt Blueprint to create the Devbox from. Should not be used
|
|
216
217
|
together with (Snapshot ID, Blueprint ID, or Blueprint name).
|
|
217
218
|
|
|
219
|
+
repository_connection: Repository connection parameters for configuring repository integration.
|
|
220
|
+
|
|
218
221
|
snapshot_id: Snapshot ID to use for the Devbox. Only one of (Snapshot ID, Blueprint ID,
|
|
219
222
|
Blueprint name) should be specified.
|
|
220
223
|
|
|
@@ -242,6 +245,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
242
245
|
"metadata": metadata,
|
|
243
246
|
"name": name,
|
|
244
247
|
"prebuilt": prebuilt,
|
|
248
|
+
"repository_connection": repository_connection,
|
|
245
249
|
"snapshot_id": snapshot_id,
|
|
246
250
|
},
|
|
247
251
|
devbox_create_params.DevboxCreateParams,
|
|
@@ -1425,6 +1429,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
1425
1429
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
1426
1430
|
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1427
1431
|
prebuilt: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1432
|
+
repository_connection: Optional[devbox_create_params.RepositoryConnection] | NotGiven = NOT_GIVEN,
|
|
1428
1433
|
snapshot_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1429
1434
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1430
1435
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -1470,6 +1475,8 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
1470
1475
|
prebuilt: Reference to prebuilt Blueprint to create the Devbox from. Should not be used
|
|
1471
1476
|
together with (Snapshot ID, Blueprint ID, or Blueprint name).
|
|
1472
1477
|
|
|
1478
|
+
repository_connection: Repository connection parameters for configuring repository integration.
|
|
1479
|
+
|
|
1473
1480
|
snapshot_id: Snapshot ID to use for the Devbox. Only one of (Snapshot ID, Blueprint ID,
|
|
1474
1481
|
Blueprint name) should be specified.
|
|
1475
1482
|
|
|
@@ -1497,6 +1504,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
1497
1504
|
"metadata": metadata,
|
|
1498
1505
|
"name": name,
|
|
1499
1506
|
"prebuilt": prebuilt,
|
|
1507
|
+
"repository_connection": repository_connection,
|
|
1500
1508
|
"snapshot_id": snapshot_id,
|
|
1501
1509
|
},
|
|
1502
1510
|
devbox_create_params.DevboxCreateParams,
|
|
@@ -20,7 +20,7 @@ from .._response import (
|
|
|
20
20
|
from ..pagination import SyncRepositoriesCursorIDPage, AsyncRepositoriesCursorIDPage
|
|
21
21
|
from .._base_client import AsyncPaginator, make_request_options
|
|
22
22
|
from ..types.repository_connection_view import RepositoryConnectionView
|
|
23
|
-
from ..types.
|
|
23
|
+
from ..types.repository_inspection_list_view import RepositoryInspectionListView
|
|
24
24
|
|
|
25
25
|
__all__ = ["RepositoriesResource", "AsyncRepositoriesResource"]
|
|
26
26
|
|
|
@@ -51,6 +51,7 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
51
51
|
name: str,
|
|
52
52
|
owner: str,
|
|
53
53
|
blueprint_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
54
|
+
github_auth_token: Optional[str] | NotGiven = NOT_GIVEN,
|
|
54
55
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
56
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
57
|
extra_headers: Headers | None = None,
|
|
@@ -70,6 +71,8 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
70
71
|
|
|
71
72
|
blueprint_id: ID of blueprint to use as base for resulting RepositoryVersion blueprint.
|
|
72
73
|
|
|
74
|
+
github_auth_token: GitHub authentication token for accessing private repositories.
|
|
75
|
+
|
|
73
76
|
extra_headers: Send extra headers
|
|
74
77
|
|
|
75
78
|
extra_query: Add additional query parameters to the request
|
|
@@ -87,6 +90,7 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
87
90
|
"name": name,
|
|
88
91
|
"owner": owner,
|
|
89
92
|
"blueprint_id": blueprint_id,
|
|
93
|
+
"github_auth_token": github_auth_token,
|
|
90
94
|
},
|
|
91
95
|
repository_create_params.RepositoryCreateParams,
|
|
92
96
|
),
|
|
@@ -230,7 +234,7 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
230
234
|
cast_to=object,
|
|
231
235
|
)
|
|
232
236
|
|
|
233
|
-
def
|
|
237
|
+
def list_inspections(
|
|
234
238
|
self,
|
|
235
239
|
id: str,
|
|
236
240
|
*,
|
|
@@ -240,10 +244,10 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
240
244
|
extra_query: Query | None = None,
|
|
241
245
|
extra_body: Body | None = None,
|
|
242
246
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
243
|
-
) ->
|
|
247
|
+
) -> RepositoryInspectionListView:
|
|
244
248
|
"""
|
|
245
|
-
List all
|
|
246
|
-
generated insights for each
|
|
249
|
+
List all inspections of a repository connection including automatically
|
|
250
|
+
generated insights for each inspection.
|
|
247
251
|
|
|
248
252
|
Args:
|
|
249
253
|
extra_headers: Send extra headers
|
|
@@ -257,11 +261,52 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
257
261
|
if not id:
|
|
258
262
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
259
263
|
return self._get(
|
|
260
|
-
f"/v1/repositories/{id}/
|
|
264
|
+
f"/v1/repositories/{id}/inspections",
|
|
261
265
|
options=make_request_options(
|
|
262
266
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
263
267
|
),
|
|
264
|
-
cast_to=
|
|
268
|
+
cast_to=RepositoryInspectionListView,
|
|
269
|
+
)
|
|
270
|
+
|
|
271
|
+
def refresh(
|
|
272
|
+
self,
|
|
273
|
+
id: str,
|
|
274
|
+
*,
|
|
275
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
276
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
277
|
+
extra_headers: Headers | None = None,
|
|
278
|
+
extra_query: Query | None = None,
|
|
279
|
+
extra_body: Body | None = None,
|
|
280
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
281
|
+
idempotency_key: str | None = None,
|
|
282
|
+
) -> object:
|
|
283
|
+
"""
|
|
284
|
+
Refresh a repository connection by inspecting the latest version including
|
|
285
|
+
repo's technical stack and developer environment requirements.
|
|
286
|
+
|
|
287
|
+
Args:
|
|
288
|
+
extra_headers: Send extra headers
|
|
289
|
+
|
|
290
|
+
extra_query: Add additional query parameters to the request
|
|
291
|
+
|
|
292
|
+
extra_body: Add additional JSON properties to the request
|
|
293
|
+
|
|
294
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
295
|
+
|
|
296
|
+
idempotency_key: Specify a custom idempotency key for this request
|
|
297
|
+
"""
|
|
298
|
+
if not id:
|
|
299
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
300
|
+
return self._post(
|
|
301
|
+
f"/v1/repositories/{id}/refresh",
|
|
302
|
+
options=make_request_options(
|
|
303
|
+
extra_headers=extra_headers,
|
|
304
|
+
extra_query=extra_query,
|
|
305
|
+
extra_body=extra_body,
|
|
306
|
+
timeout=timeout,
|
|
307
|
+
idempotency_key=idempotency_key,
|
|
308
|
+
),
|
|
309
|
+
cast_to=object,
|
|
265
310
|
)
|
|
266
311
|
|
|
267
312
|
|
|
@@ -291,6 +336,7 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
291
336
|
name: str,
|
|
292
337
|
owner: str,
|
|
293
338
|
blueprint_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
339
|
+
github_auth_token: Optional[str] | NotGiven = NOT_GIVEN,
|
|
294
340
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
295
341
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
296
342
|
extra_headers: Headers | None = None,
|
|
@@ -310,6 +356,8 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
310
356
|
|
|
311
357
|
blueprint_id: ID of blueprint to use as base for resulting RepositoryVersion blueprint.
|
|
312
358
|
|
|
359
|
+
github_auth_token: GitHub authentication token for accessing private repositories.
|
|
360
|
+
|
|
313
361
|
extra_headers: Send extra headers
|
|
314
362
|
|
|
315
363
|
extra_query: Add additional query parameters to the request
|
|
@@ -327,6 +375,7 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
327
375
|
"name": name,
|
|
328
376
|
"owner": owner,
|
|
329
377
|
"blueprint_id": blueprint_id,
|
|
378
|
+
"github_auth_token": github_auth_token,
|
|
330
379
|
},
|
|
331
380
|
repository_create_params.RepositoryCreateParams,
|
|
332
381
|
),
|
|
@@ -470,7 +519,7 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
470
519
|
cast_to=object,
|
|
471
520
|
)
|
|
472
521
|
|
|
473
|
-
async def
|
|
522
|
+
async def list_inspections(
|
|
474
523
|
self,
|
|
475
524
|
id: str,
|
|
476
525
|
*,
|
|
@@ -480,10 +529,10 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
480
529
|
extra_query: Query | None = None,
|
|
481
530
|
extra_body: Body | None = None,
|
|
482
531
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
483
|
-
) ->
|
|
532
|
+
) -> RepositoryInspectionListView:
|
|
484
533
|
"""
|
|
485
|
-
List all
|
|
486
|
-
generated insights for each
|
|
534
|
+
List all inspections of a repository connection including automatically
|
|
535
|
+
generated insights for each inspection.
|
|
487
536
|
|
|
488
537
|
Args:
|
|
489
538
|
extra_headers: Send extra headers
|
|
@@ -497,11 +546,52 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
497
546
|
if not id:
|
|
498
547
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
499
548
|
return await self._get(
|
|
500
|
-
f"/v1/repositories/{id}/
|
|
549
|
+
f"/v1/repositories/{id}/inspections",
|
|
501
550
|
options=make_request_options(
|
|
502
551
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
503
552
|
),
|
|
504
|
-
cast_to=
|
|
553
|
+
cast_to=RepositoryInspectionListView,
|
|
554
|
+
)
|
|
555
|
+
|
|
556
|
+
async def refresh(
|
|
557
|
+
self,
|
|
558
|
+
id: str,
|
|
559
|
+
*,
|
|
560
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
561
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
562
|
+
extra_headers: Headers | None = None,
|
|
563
|
+
extra_query: Query | None = None,
|
|
564
|
+
extra_body: Body | None = None,
|
|
565
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
566
|
+
idempotency_key: str | None = None,
|
|
567
|
+
) -> object:
|
|
568
|
+
"""
|
|
569
|
+
Refresh a repository connection by inspecting the latest version including
|
|
570
|
+
repo's technical stack and developer environment requirements.
|
|
571
|
+
|
|
572
|
+
Args:
|
|
573
|
+
extra_headers: Send extra headers
|
|
574
|
+
|
|
575
|
+
extra_query: Add additional query parameters to the request
|
|
576
|
+
|
|
577
|
+
extra_body: Add additional JSON properties to the request
|
|
578
|
+
|
|
579
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
580
|
+
|
|
581
|
+
idempotency_key: Specify a custom idempotency key for this request
|
|
582
|
+
"""
|
|
583
|
+
if not id:
|
|
584
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
585
|
+
return await self._post(
|
|
586
|
+
f"/v1/repositories/{id}/refresh",
|
|
587
|
+
options=make_request_options(
|
|
588
|
+
extra_headers=extra_headers,
|
|
589
|
+
extra_query=extra_query,
|
|
590
|
+
extra_body=extra_body,
|
|
591
|
+
timeout=timeout,
|
|
592
|
+
idempotency_key=idempotency_key,
|
|
593
|
+
),
|
|
594
|
+
cast_to=object,
|
|
505
595
|
)
|
|
506
596
|
|
|
507
597
|
|
|
@@ -521,8 +611,11 @@ class RepositoriesResourceWithRawResponse:
|
|
|
521
611
|
self.delete = to_raw_response_wrapper(
|
|
522
612
|
repositories.delete,
|
|
523
613
|
)
|
|
524
|
-
self.
|
|
525
|
-
repositories.
|
|
614
|
+
self.list_inspections = to_raw_response_wrapper(
|
|
615
|
+
repositories.list_inspections,
|
|
616
|
+
)
|
|
617
|
+
self.refresh = to_raw_response_wrapper(
|
|
618
|
+
repositories.refresh,
|
|
526
619
|
)
|
|
527
620
|
|
|
528
621
|
|
|
@@ -542,8 +635,11 @@ class AsyncRepositoriesResourceWithRawResponse:
|
|
|
542
635
|
self.delete = async_to_raw_response_wrapper(
|
|
543
636
|
repositories.delete,
|
|
544
637
|
)
|
|
545
|
-
self.
|
|
546
|
-
repositories.
|
|
638
|
+
self.list_inspections = async_to_raw_response_wrapper(
|
|
639
|
+
repositories.list_inspections,
|
|
640
|
+
)
|
|
641
|
+
self.refresh = async_to_raw_response_wrapper(
|
|
642
|
+
repositories.refresh,
|
|
547
643
|
)
|
|
548
644
|
|
|
549
645
|
|
|
@@ -563,8 +659,11 @@ class RepositoriesResourceWithStreamingResponse:
|
|
|
563
659
|
self.delete = to_streamed_response_wrapper(
|
|
564
660
|
repositories.delete,
|
|
565
661
|
)
|
|
566
|
-
self.
|
|
567
|
-
repositories.
|
|
662
|
+
self.list_inspections = to_streamed_response_wrapper(
|
|
663
|
+
repositories.list_inspections,
|
|
664
|
+
)
|
|
665
|
+
self.refresh = to_streamed_response_wrapper(
|
|
666
|
+
repositories.refresh,
|
|
568
667
|
)
|
|
569
668
|
|
|
570
669
|
|
|
@@ -584,6 +683,9 @@ class AsyncRepositoriesResourceWithStreamingResponse:
|
|
|
584
683
|
self.delete = async_to_streamed_response_wrapper(
|
|
585
684
|
repositories.delete,
|
|
586
685
|
)
|
|
587
|
-
self.
|
|
588
|
-
repositories.
|
|
686
|
+
self.list_inspections = async_to_streamed_response_wrapper(
|
|
687
|
+
repositories.list_inspections,
|
|
688
|
+
)
|
|
689
|
+
self.refresh = async_to_streamed_response_wrapper(
|
|
690
|
+
repositories.refresh,
|
|
589
691
|
)
|
{runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/src/runloop_api_client/types/__init__.py
RENAMED
|
@@ -42,6 +42,7 @@ from .benchmark_update_params import BenchmarkUpdateParams as BenchmarkUpdatePar
|
|
|
42
42
|
from .blueprint_create_params import BlueprintCreateParams as BlueprintCreateParams
|
|
43
43
|
from .blueprint_preview_params import BlueprintPreviewParams as BlueprintPreviewParams
|
|
44
44
|
from .repository_create_params import RepositoryCreateParams as RepositoryCreateParams
|
|
45
|
+
from .repository_manifest_view import RepositoryManifestView as RepositoryManifestView
|
|
45
46
|
from .devbox_snapshot_list_view import DevboxSnapshotListView as DevboxSnapshotListView
|
|
46
47
|
from .devbox_upload_file_params import DevboxUploadFileParams as DevboxUploadFileParams
|
|
47
48
|
from .scenario_start_run_params import ScenarioStartRunParams as ScenarioStartRunParams
|
|
@@ -49,7 +50,6 @@ from .benchmark_start_run_params import BenchmarkStartRunParams as BenchmarkStar
|
|
|
49
50
|
from .blueprint_build_parameters import BlueprintBuildParameters as BlueprintBuildParameters
|
|
50
51
|
from .devbox_execute_sync_params import DevboxExecuteSyncParams as DevboxExecuteSyncParams
|
|
51
52
|
from .repository_connection_view import RepositoryConnectionView as RepositoryConnectionView
|
|
52
|
-
from .repository_version_details import RepositoryVersionDetails as RepositoryVersionDetails
|
|
53
53
|
from .scenario_environment_param import ScenarioEnvironmentParam as ScenarioEnvironmentParam
|
|
54
54
|
from .devbox_create_tunnel_params import DevboxCreateTunnelParams as DevboxCreateTunnelParams
|
|
55
55
|
from .devbox_download_file_params import DevboxDownloadFileParams as DevboxDownloadFileParams
|
|
@@ -59,12 +59,13 @@ from .devbox_snapshot_disk_params import DevboxSnapshotDiskParams as DevboxSnaps
|
|
|
59
59
|
from .scenario_list_public_params import ScenarioListPublicParams as ScenarioListPublicParams
|
|
60
60
|
from .benchmark_list_public_params import BenchmarkListPublicParams as BenchmarkListPublicParams
|
|
61
61
|
from .devbox_execution_detail_view import DevboxExecutionDetailView as DevboxExecutionDetailView
|
|
62
|
-
from .repository_version_list_view import RepositoryVersionListView as RepositoryVersionListView
|
|
63
62
|
from .scoring_contract_result_view import ScoringContractResultView as ScoringContractResultView
|
|
64
63
|
from .scoring_function_result_view import ScoringFunctionResultView as ScoringFunctionResultView
|
|
64
|
+
from .repository_inspection_details import RepositoryInspectionDetails as RepositoryInspectionDetails
|
|
65
65
|
from .blueprint_build_logs_list_view import BlueprintBuildLogsListView as BlueprintBuildLogsListView
|
|
66
66
|
from .devbox_create_ssh_key_response import DevboxCreateSSHKeyResponse as DevboxCreateSSHKeyResponse
|
|
67
67
|
from .repository_connection_list_view import RepositoryConnectionListView as RepositoryConnectionListView
|
|
68
|
+
from .repository_inspection_list_view import RepositoryInspectionListView as RepositoryInspectionListView
|
|
68
69
|
from .devbox_read_file_contents_params import DevboxReadFileContentsParams as DevboxReadFileContentsParams
|
|
69
70
|
from .devbox_list_disk_snapshots_params import DevboxListDiskSnapshotsParams as DevboxListDiskSnapshotsParams
|
|
70
71
|
from .devbox_snapshot_disk_async_params import DevboxSnapshotDiskAsyncParams as DevboxSnapshotDiskAsyncParams
|
|
@@ -8,7 +8,7 @@ from typing_extensions import TypedDict
|
|
|
8
8
|
from .shared_params.launch_parameters import LaunchParameters
|
|
9
9
|
from .shared_params.code_mount_parameters import CodeMountParameters
|
|
10
10
|
|
|
11
|
-
__all__ = ["DevboxCreateParams"]
|
|
11
|
+
__all__ = ["DevboxCreateParams", "RepositoryConnection"]
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class DevboxCreateParams(TypedDict, total=False):
|
|
@@ -58,8 +58,26 @@ class DevboxCreateParams(TypedDict, total=False):
|
|
|
58
58
|
Should not be used together with (Snapshot ID, Blueprint ID, or Blueprint name).
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
|
+
repository_connection: Optional[RepositoryConnection]
|
|
62
|
+
"""Repository connection parameters for configuring repository integration."""
|
|
63
|
+
|
|
61
64
|
snapshot_id: Optional[str]
|
|
62
65
|
"""Snapshot ID to use for the Devbox.
|
|
63
66
|
|
|
64
67
|
Only one of (Snapshot ID, Blueprint ID, Blueprint name) should be specified.
|
|
65
68
|
"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class RepositoryConnection(TypedDict, total=False):
|
|
72
|
+
github_auth_token: Optional[str]
|
|
73
|
+
"""
|
|
74
|
+
GitHub authentication token for accessing private repositories when using
|
|
75
|
+
repository_connection_id.
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
repository_connection_id: Optional[str]
|
|
79
|
+
"""Repository connection ID to use for the Devbox.
|
|
80
|
+
|
|
81
|
+
When specified, the latest inspection blueprint will be used and workspace
|
|
82
|
+
maintenance commands will be run during boot.
|
|
83
|
+
"""
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
from typing import Optional
|
|
4
|
-
from typing_extensions import Literal
|
|
5
|
-
|
|
6
3
|
from .._models import BaseModel
|
|
7
4
|
|
|
8
5
|
__all__ = ["RepositoryConnectionView"]
|
|
@@ -17,9 +14,3 @@ class RepositoryConnectionView(BaseModel):
|
|
|
17
14
|
|
|
18
15
|
owner: str
|
|
19
16
|
"""The account owner of the Repository."""
|
|
20
|
-
|
|
21
|
-
status: Literal["pending", "failure", "active"]
|
|
22
|
-
"""The current status of the Repository."""
|
|
23
|
-
|
|
24
|
-
failure_reason: Optional[str] = None
|
|
25
|
-
"""Reason for failure, if the status is 'failure'."""
|
|
@@ -17,3 +17,6 @@ class RepositoryCreateParams(TypedDict, total=False):
|
|
|
17
17
|
|
|
18
18
|
blueprint_id: Optional[str]
|
|
19
19
|
"""ID of blueprint to use as base for resulting RepositoryVersion blueprint."""
|
|
20
|
+
|
|
21
|
+
github_auth_token: Optional[str]
|
|
22
|
+
"""GitHub authentication token for accessing private repositories."""
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
from .repository_manifest_view import RepositoryManifestView
|
|
8
|
+
|
|
9
|
+
__all__ = ["RepositoryInspectionDetails"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class RepositoryInspectionDetails(BaseModel):
|
|
13
|
+
commit_sha: str
|
|
14
|
+
"""The sha of the inspected version of the Repository."""
|
|
15
|
+
|
|
16
|
+
inspected_at: int
|
|
17
|
+
"""Inspection time of the Repository Version (Unix timestamp milliseconds)."""
|
|
18
|
+
|
|
19
|
+
repository_manifest: RepositoryManifestView
|
|
20
|
+
"""Repository manifest containing container config and workspace details."""
|
|
21
|
+
|
|
22
|
+
status: Literal[
|
|
23
|
+
"invalid",
|
|
24
|
+
"repo_auth_pending",
|
|
25
|
+
"repo_authentication_failure",
|
|
26
|
+
"repo_access_failure",
|
|
27
|
+
"inspection_pending",
|
|
28
|
+
"inspection_failed",
|
|
29
|
+
"inspection_success",
|
|
30
|
+
"image_build_success",
|
|
31
|
+
"image_build_failure",
|
|
32
|
+
]
|
|
33
|
+
"""The status of the repository inspection."""
|
|
34
|
+
|
|
35
|
+
blueprint_id: Optional[str] = None
|
|
36
|
+
"""The blueprint ID associated with this inspection if successful."""
|
|
37
|
+
|
|
38
|
+
blueprint_name: Optional[str] = None
|
|
39
|
+
"""The blueprint name associated with this inspection if successful."""
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
from .repository_inspection_details import RepositoryInspectionDetails
|
|
7
|
+
|
|
8
|
+
__all__ = ["RepositoryInspectionListView"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class RepositoryInspectionListView(BaseModel):
|
|
12
|
+
inspections: List[RepositoryInspectionDetails]
|
|
13
|
+
"""List of inspections for this repository."""
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["RepositoryManifestView", "ContainerConfig", "Workspace", "WorkspaceDevCommands"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ContainerConfig(BaseModel):
|
|
11
|
+
base_image_name: str
|
|
12
|
+
"""The name of the base image.
|
|
13
|
+
|
|
14
|
+
Should be one of the GitHub public images like ubuntu-latest, ubuntu-24.04,
|
|
15
|
+
ubuntu-22.04, windows-latest, windows-2022, macos-latest etc.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
setup_commands: Optional[List[str]] = None
|
|
19
|
+
"""
|
|
20
|
+
Commands to run to setup the base container such as installing necessary
|
|
21
|
+
toolchains (e.g. apt install).
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class WorkspaceDevCommands(BaseModel):
|
|
26
|
+
build: Optional[str] = None
|
|
27
|
+
"""Build command (e.g. npm run build)."""
|
|
28
|
+
|
|
29
|
+
install: Optional[str] = None
|
|
30
|
+
"""Installation command (e.g. pip install -r requirements.txt)."""
|
|
31
|
+
|
|
32
|
+
lint: Optional[str] = None
|
|
33
|
+
"""Lint command (e.g. flake8)."""
|
|
34
|
+
|
|
35
|
+
test: Optional[str] = None
|
|
36
|
+
"""Test command (e.g. pytest)."""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class Workspace(BaseModel):
|
|
40
|
+
package_manager: str
|
|
41
|
+
"""Name of the package manager used (e.g. pip, npm)."""
|
|
42
|
+
|
|
43
|
+
dev_commands: Optional[WorkspaceDevCommands] = None
|
|
44
|
+
"""
|
|
45
|
+
Extracted common commands important to the developer life cycle like linting,
|
|
46
|
+
testing, building, etc.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
name: Optional[str] = None
|
|
50
|
+
"""Name of the workspace.
|
|
51
|
+
|
|
52
|
+
Can be empty if the workspace is the root of the repository. Only necessary for
|
|
53
|
+
monorepo style repositories.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
path: Optional[str] = None
|
|
57
|
+
"""Path to the workspace from the root of the repository.
|
|
58
|
+
|
|
59
|
+
Can be empty if the workspace is the root of the repository. Only necessary for
|
|
60
|
+
monorepo style repositories.
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
required_env_vars: Optional[List[str]] = None
|
|
64
|
+
"""
|
|
65
|
+
Environment variables that are required to be set for this workspace to run
|
|
66
|
+
correctly.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
workspace_refresh_commands: Optional[List[str]] = None
|
|
70
|
+
"""
|
|
71
|
+
Commands to run to refresh this workspace after pulling the latest changes to
|
|
72
|
+
the repository via git (e.g. npm install).
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
workspace_setup_commands: Optional[List[str]] = None
|
|
76
|
+
"""
|
|
77
|
+
Commands to run to setup this workspace after a fresh clone of the repository on
|
|
78
|
+
a new container such as installing necessary toolchains and dependencies (e.g.
|
|
79
|
+
npm install).
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
class RepositoryManifestView(BaseModel):
|
|
84
|
+
container_config: ContainerConfig
|
|
85
|
+
"""Container configuration specifying the base image and setup commands."""
|
|
86
|
+
|
|
87
|
+
workspaces: List[Workspace]
|
|
88
|
+
"""List of workspaces within the repository.
|
|
89
|
+
|
|
90
|
+
Each workspace represents a buildable unit of code.
|
|
91
|
+
"""
|
{runloop_api_client-0.35.0 → runloop_api_client-0.36.0}/tests/api_resources/test_devboxes.py
RENAMED
|
@@ -79,6 +79,10 @@ class TestDevboxes:
|
|
|
79
79
|
metadata={"foo": "string"},
|
|
80
80
|
name="name",
|
|
81
81
|
prebuilt="prebuilt",
|
|
82
|
+
repository_connection={
|
|
83
|
+
"github_auth_token": "github_auth_token",
|
|
84
|
+
"repository_connection_id": "repository_connection_id",
|
|
85
|
+
},
|
|
82
86
|
snapshot_id="snapshot_id",
|
|
83
87
|
)
|
|
84
88
|
assert_matches_type(DevboxView, devbox, path=["response"])
|
|
@@ -1008,6 +1012,10 @@ class TestAsyncDevboxes:
|
|
|
1008
1012
|
metadata={"foo": "string"},
|
|
1009
1013
|
name="name",
|
|
1010
1014
|
prebuilt="prebuilt",
|
|
1015
|
+
repository_connection={
|
|
1016
|
+
"github_auth_token": "github_auth_token",
|
|
1017
|
+
"repository_connection_id": "repository_connection_id",
|
|
1018
|
+
},
|
|
1011
1019
|
snapshot_id="snapshot_id",
|
|
1012
1020
|
)
|
|
1013
1021
|
assert_matches_type(DevboxView, devbox, path=["response"])
|