runloop-api-client 0.38.0__tar.gz → 0.40.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.40.0/.release-please-manifest.json +3 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/CHANGELOG.md +18 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/PKG-INFO +1 -1
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/api.md +3 -1
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/pyproject.toml +1 -1
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/benchmarks/benchmarks.py +112 -16
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/devboxes.py +6 -6
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/repositories.py +27 -1
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/scenarios/scenarios.py +0 -16
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/__init__.py +3 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_create_params.py +0 -3
- runloop_api_client-0.40.0/src/runloop_api_client/types/benchmark_definitions_params.py +15 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_run_view.py +2 -22
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_update_params.py +0 -3
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_create_params.py +3 -18
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_view.py +24 -1
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_inspection_details.py +10 -0
- runloop_api_client-0.40.0/src/runloop_api_client/types/repository_refresh_params.py +16 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_create_params.py +0 -3
- runloop_api_client-0.40.0/src/runloop_api_client/types/scenario_definition_list_view.py +19 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_update_params.py +0 -3
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/test_benchmarks.py +95 -18
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/test_devboxes.py +2 -8
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/test_repositories.py +26 -8
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/test_scenarios.py +0 -18
- runloop_api_client-0.38.0/.release-please-manifest.json +0 -3
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/.gitignore +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/LICENSE +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/README.md +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/SECURITY.md +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/bin/check-release-environment +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/bin/publish-pypi +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/examples/.keep +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/mypy.ini +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/noxfile.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/release-please-config.json +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/requirements-dev.lock +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/requirements.lock +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_resources_proxy.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/lib/polling.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/lib/polling_async.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/pagination.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/benchmarks/runs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/browsers.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/computers.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/disk_snapshots.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/executions.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/devboxes/lsp.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/scenarios/runs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/resources/scenarios/scorers.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_list_public_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_run_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_start_run_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmark_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmarks/run_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/benchmarks/run_list_scenario_runs_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_create_tunnel_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_download_file_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_execute_async_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_list_disk_snapshots_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_remove_tunnel_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_snapshot_disk_async_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_snapshot_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_update_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devbox_write_file_contents_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_code_action.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_command.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_command_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_diagnostic.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_diagnostic_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_location.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_markup_content.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_parameter_information.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_range.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_range_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_signature.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_workspace_edit.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/base_workspace_edit_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/browser_create_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/browser_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_action_application_result.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_action_context_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_action_kind.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_action_trigger_kind.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_actions_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_description_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/code_segment_info_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_create_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/computer_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/devbox_snapshot_async_status_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/diagnostic_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/diagnostic_related_information_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/diagnostic_severity.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/diagnostic_tag.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/diagnostics_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/disk_snapshot_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/disk_snapshot_update_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/document_symbol.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/document_symbol_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/document_uri.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/file_contents_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/file_definition_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/file_path.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/file_uri.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/formatting_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/health_status_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/integer.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/l_sp_any_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/location_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/log_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_code_actions_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_file_definition_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_file_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_files_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_formatting_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_references_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/position.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/position_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/range.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/range_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/references_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/signature_help_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/symbol_kind.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/symbol_tag.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/symbol_type.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/text_edit.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/text_edit_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/u_ri.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/uinteger.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/devboxes/watched_file_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/input_context.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/input_context_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_connection_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_connection_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_create_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_inspection_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/repository_manifest_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_environment.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_environment_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_list_public_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_run_list_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_run_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_start_run_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenario_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/run_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_create_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_create_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_list_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_list_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_retrieve_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_update_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_update_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_validate_params.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scenarios/scorer_validate_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scoring_contract.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scoring_contract_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scoring_contract_result_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scoring_function.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scoring_function_param.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/scoring_function_result_view.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared/after_idle.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared/code_mount_parameters.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared/launch_parameters.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared_params/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared_params/after_idle.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared_params/code_mount_parameters.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/benchmarks/test_runs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/test_browsers.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/test_computers.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/test_disk_snapshots.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/test_executions.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/test_logs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/devboxes/test_lsp.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/scenarios/test_runs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/scenarios/test_scorers.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/api_resources/test_blueprints.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/conftest.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_client.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_files.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_models.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_qs.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_response.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_transform.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/tests/utils.py +0 -0
- {runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/uv.lock +0 -0
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.40.0 (2025-06-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.39.0...v0.40.0](https://github.com/runloopai/api-client-python/compare/v0.39.0...v0.40.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([8e066c3](https://github.com/runloopai/api-client-python/commit/8e066c3dde50f92a16054323b867f94bc6ba0f8e))
|
|
10
|
+
* **api:** api update ([4a9a9e3](https://github.com/runloopai/api-client-python/commit/4a9a9e3c2d5b307df4205f16cc8a6eca38f51721))
|
|
11
|
+
|
|
12
|
+
## 0.39.0 (2025-06-04)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v0.38.0...v0.39.0](https://github.com/runloopai/api-client-python/compare/v0.38.0...v0.39.0)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **api:** api update ([fbabb53](https://github.com/runloopai/api-client-python/commit/fbabb538a0dc6662841cb4cb4e489dae3f4f4e4c))
|
|
19
|
+
* **api:** api update ([7fa8636](https://github.com/runloopai/api-client-python/commit/7fa8636459ea96553b9d65a4475fce3815c1b2e7))
|
|
20
|
+
|
|
3
21
|
## 0.38.0 (2025-06-04)
|
|
4
22
|
|
|
5
23
|
Full Changelog: [v0.37.0...v0.38.0](https://github.com/runloopai/api-client-python/compare/v0.37.0...v0.38.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.40.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
|
|
@@ -14,6 +14,7 @@ from runloop_api_client.types import (
|
|
|
14
14
|
BenchmarkRunListView,
|
|
15
15
|
BenchmarkRunView,
|
|
16
16
|
BenchmarkView,
|
|
17
|
+
ScenarioDefinitionListView,
|
|
17
18
|
StartBenchmarkRunParameters,
|
|
18
19
|
)
|
|
19
20
|
```
|
|
@@ -24,6 +25,7 @@ Methods:
|
|
|
24
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>
|
|
25
26
|
- <code title="post /v1/benchmarks/{id}">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">update</a>(id, \*\*<a href="src/runloop_api_client/types/benchmark_update_params.py">params</a>) -> <a href="./src/runloop_api_client/types/benchmark_view.py">BenchmarkView</a></code>
|
|
26
27
|
- <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_view.py">SyncBenchmarksCursorIDPage[BenchmarkView]</a></code>
|
|
28
|
+
- <code title="get /v1/benchmarks/{id}/definitions">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">definitions</a>(id, \*\*<a href="src/runloop_api_client/types/benchmark_definitions_params.py">params</a>) -> <a href="./src/runloop_api_client/types/scenario_definition_list_view.py">ScenarioDefinitionListView</a></code>
|
|
27
29
|
- <code title="get /v1/benchmarks/list_public">client.benchmarks.<a href="./src/runloop_api_client/resources/benchmarks/benchmarks.py">list_public</a>(\*\*<a href="src/runloop_api_client/types/benchmark_list_public_params.py">params</a>) -> <a href="./src/runloop_api_client/types/benchmark_view.py">SyncBenchmarksCursorIDPage[BenchmarkView]</a></code>
|
|
28
30
|
- <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>
|
|
29
31
|
|
|
@@ -337,4 +339,4 @@ Methods:
|
|
|
337
339
|
- <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>
|
|
338
340
|
- <code title="post /v1/repositories/{id}/delete">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">delete</a>(id) -> object</code>
|
|
339
341
|
- <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>
|
|
340
|
-
- <code title="post /v1/repositories/{id}/refresh">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">refresh</a>(id) -> object</code>
|
|
342
|
+
- <code title="post /v1/repositories/{id}/refresh">client.repositories.<a href="./src/runloop_api_client/resources/repositories.py">refresh</a>(id, \*\*<a href="src/runloop_api_client/types/repository_refresh_params.py">params</a>) -> object</code>
|
|
@@ -19,6 +19,7 @@ from ...types import (
|
|
|
19
19
|
benchmark_create_params,
|
|
20
20
|
benchmark_update_params,
|
|
21
21
|
benchmark_start_run_params,
|
|
22
|
+
benchmark_definitions_params,
|
|
22
23
|
benchmark_list_public_params,
|
|
23
24
|
)
|
|
24
25
|
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
@@ -35,6 +36,7 @@ from ...pagination import SyncBenchmarksCursorIDPage, AsyncBenchmarksCursorIDPag
|
|
|
35
36
|
from ..._base_client import AsyncPaginator, make_request_options
|
|
36
37
|
from ...types.benchmark_view import BenchmarkView
|
|
37
38
|
from ...types.benchmark_run_view import BenchmarkRunView
|
|
39
|
+
from ...types.scenario_definition_list_view import ScenarioDefinitionListView
|
|
38
40
|
|
|
39
41
|
__all__ = ["BenchmarksResource", "AsyncBenchmarksResource"]
|
|
40
42
|
|
|
@@ -66,7 +68,6 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
66
68
|
def create(
|
|
67
69
|
self,
|
|
68
70
|
*,
|
|
69
|
-
is_public: bool,
|
|
70
71
|
name: str,
|
|
71
72
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
72
73
|
scenario_ids: Optional[List[str]] | NotGiven = NOT_GIVEN,
|
|
@@ -82,8 +83,6 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
82
83
|
Create a Benchmark with a set of Scenarios.
|
|
83
84
|
|
|
84
85
|
Args:
|
|
85
|
-
is_public: Whether this benchmark is public.
|
|
86
|
-
|
|
87
86
|
name: The name of the Benchmark. This must be unique.
|
|
88
87
|
|
|
89
88
|
metadata: User defined metadata to attach to the benchmark for organization.
|
|
@@ -104,7 +103,6 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
104
103
|
"/v1/benchmarks",
|
|
105
104
|
body=maybe_transform(
|
|
106
105
|
{
|
|
107
|
-
"is_public": is_public,
|
|
108
106
|
"name": name,
|
|
109
107
|
"metadata": metadata,
|
|
110
108
|
"scenario_ids": scenario_ids,
|
|
@@ -158,7 +156,6 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
158
156
|
self,
|
|
159
157
|
id: str,
|
|
160
158
|
*,
|
|
161
|
-
is_public: bool,
|
|
162
159
|
name: str,
|
|
163
160
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
164
161
|
scenario_ids: Optional[List[str]] | NotGiven = NOT_GIVEN,
|
|
@@ -174,8 +171,6 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
174
171
|
Update a Benchmark with a set of Scenarios.
|
|
175
172
|
|
|
176
173
|
Args:
|
|
177
|
-
is_public: Whether this benchmark is public.
|
|
178
|
-
|
|
179
174
|
name: The name of the Benchmark. This must be unique.
|
|
180
175
|
|
|
181
176
|
metadata: User defined metadata to attach to the benchmark for organization.
|
|
@@ -198,7 +193,6 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
198
193
|
f"/v1/benchmarks/{id}",
|
|
199
194
|
body=maybe_transform(
|
|
200
195
|
{
|
|
201
|
-
"is_public": is_public,
|
|
202
196
|
"name": name,
|
|
203
197
|
"metadata": metadata,
|
|
204
198
|
"scenario_ids": scenario_ids,
|
|
@@ -262,6 +256,55 @@ class BenchmarksResource(SyncAPIResource):
|
|
|
262
256
|
model=BenchmarkView,
|
|
263
257
|
)
|
|
264
258
|
|
|
259
|
+
def definitions(
|
|
260
|
+
self,
|
|
261
|
+
id: str,
|
|
262
|
+
*,
|
|
263
|
+
limit: int | NotGiven = NOT_GIVEN,
|
|
264
|
+
starting_after: str | NotGiven = NOT_GIVEN,
|
|
265
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
266
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
267
|
+
extra_headers: Headers | None = None,
|
|
268
|
+
extra_query: Query | None = None,
|
|
269
|
+
extra_body: Body | None = None,
|
|
270
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
271
|
+
) -> ScenarioDefinitionListView:
|
|
272
|
+
"""
|
|
273
|
+
Get scenario definitions for a previously created Benchmark.
|
|
274
|
+
|
|
275
|
+
Args:
|
|
276
|
+
limit: The limit of items to return. Default is 20.
|
|
277
|
+
|
|
278
|
+
starting_after: Load the next page of data starting after the item with the given ID.
|
|
279
|
+
|
|
280
|
+
extra_headers: Send extra headers
|
|
281
|
+
|
|
282
|
+
extra_query: Add additional query parameters to the request
|
|
283
|
+
|
|
284
|
+
extra_body: Add additional JSON properties to the request
|
|
285
|
+
|
|
286
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
287
|
+
"""
|
|
288
|
+
if not id:
|
|
289
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
290
|
+
return self._get(
|
|
291
|
+
f"/v1/benchmarks/{id}/definitions",
|
|
292
|
+
options=make_request_options(
|
|
293
|
+
extra_headers=extra_headers,
|
|
294
|
+
extra_query=extra_query,
|
|
295
|
+
extra_body=extra_body,
|
|
296
|
+
timeout=timeout,
|
|
297
|
+
query=maybe_transform(
|
|
298
|
+
{
|
|
299
|
+
"limit": limit,
|
|
300
|
+
"starting_after": starting_after,
|
|
301
|
+
},
|
|
302
|
+
benchmark_definitions_params.BenchmarkDefinitionsParams,
|
|
303
|
+
),
|
|
304
|
+
),
|
|
305
|
+
cast_to=ScenarioDefinitionListView,
|
|
306
|
+
)
|
|
307
|
+
|
|
265
308
|
def list_public(
|
|
266
309
|
self,
|
|
267
310
|
*,
|
|
@@ -391,7 +434,6 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
391
434
|
async def create(
|
|
392
435
|
self,
|
|
393
436
|
*,
|
|
394
|
-
is_public: bool,
|
|
395
437
|
name: str,
|
|
396
438
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
397
439
|
scenario_ids: Optional[List[str]] | NotGiven = NOT_GIVEN,
|
|
@@ -407,8 +449,6 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
407
449
|
Create a Benchmark with a set of Scenarios.
|
|
408
450
|
|
|
409
451
|
Args:
|
|
410
|
-
is_public: Whether this benchmark is public.
|
|
411
|
-
|
|
412
452
|
name: The name of the Benchmark. This must be unique.
|
|
413
453
|
|
|
414
454
|
metadata: User defined metadata to attach to the benchmark for organization.
|
|
@@ -429,7 +469,6 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
429
469
|
"/v1/benchmarks",
|
|
430
470
|
body=await async_maybe_transform(
|
|
431
471
|
{
|
|
432
|
-
"is_public": is_public,
|
|
433
472
|
"name": name,
|
|
434
473
|
"metadata": metadata,
|
|
435
474
|
"scenario_ids": scenario_ids,
|
|
@@ -483,7 +522,6 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
483
522
|
self,
|
|
484
523
|
id: str,
|
|
485
524
|
*,
|
|
486
|
-
is_public: bool,
|
|
487
525
|
name: str,
|
|
488
526
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
489
527
|
scenario_ids: Optional[List[str]] | NotGiven = NOT_GIVEN,
|
|
@@ -499,8 +537,6 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
499
537
|
Update a Benchmark with a set of Scenarios.
|
|
500
538
|
|
|
501
539
|
Args:
|
|
502
|
-
is_public: Whether this benchmark is public.
|
|
503
|
-
|
|
504
540
|
name: The name of the Benchmark. This must be unique.
|
|
505
541
|
|
|
506
542
|
metadata: User defined metadata to attach to the benchmark for organization.
|
|
@@ -523,7 +559,6 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
523
559
|
f"/v1/benchmarks/{id}",
|
|
524
560
|
body=await async_maybe_transform(
|
|
525
561
|
{
|
|
526
|
-
"is_public": is_public,
|
|
527
562
|
"name": name,
|
|
528
563
|
"metadata": metadata,
|
|
529
564
|
"scenario_ids": scenario_ids,
|
|
@@ -587,6 +622,55 @@ class AsyncBenchmarksResource(AsyncAPIResource):
|
|
|
587
622
|
model=BenchmarkView,
|
|
588
623
|
)
|
|
589
624
|
|
|
625
|
+
async def definitions(
|
|
626
|
+
self,
|
|
627
|
+
id: str,
|
|
628
|
+
*,
|
|
629
|
+
limit: int | NotGiven = NOT_GIVEN,
|
|
630
|
+
starting_after: str | NotGiven = NOT_GIVEN,
|
|
631
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
632
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
633
|
+
extra_headers: Headers | None = None,
|
|
634
|
+
extra_query: Query | None = None,
|
|
635
|
+
extra_body: Body | None = None,
|
|
636
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
637
|
+
) -> ScenarioDefinitionListView:
|
|
638
|
+
"""
|
|
639
|
+
Get scenario definitions for a previously created Benchmark.
|
|
640
|
+
|
|
641
|
+
Args:
|
|
642
|
+
limit: The limit of items to return. Default is 20.
|
|
643
|
+
|
|
644
|
+
starting_after: Load the next page of data starting after the item with the given ID.
|
|
645
|
+
|
|
646
|
+
extra_headers: Send extra headers
|
|
647
|
+
|
|
648
|
+
extra_query: Add additional query parameters to the request
|
|
649
|
+
|
|
650
|
+
extra_body: Add additional JSON properties to the request
|
|
651
|
+
|
|
652
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
653
|
+
"""
|
|
654
|
+
if not id:
|
|
655
|
+
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
656
|
+
return await self._get(
|
|
657
|
+
f"/v1/benchmarks/{id}/definitions",
|
|
658
|
+
options=make_request_options(
|
|
659
|
+
extra_headers=extra_headers,
|
|
660
|
+
extra_query=extra_query,
|
|
661
|
+
extra_body=extra_body,
|
|
662
|
+
timeout=timeout,
|
|
663
|
+
query=await async_maybe_transform(
|
|
664
|
+
{
|
|
665
|
+
"limit": limit,
|
|
666
|
+
"starting_after": starting_after,
|
|
667
|
+
},
|
|
668
|
+
benchmark_definitions_params.BenchmarkDefinitionsParams,
|
|
669
|
+
),
|
|
670
|
+
),
|
|
671
|
+
cast_to=ScenarioDefinitionListView,
|
|
672
|
+
)
|
|
673
|
+
|
|
590
674
|
def list_public(
|
|
591
675
|
self,
|
|
592
676
|
*,
|
|
@@ -705,6 +789,9 @@ class BenchmarksResourceWithRawResponse:
|
|
|
705
789
|
self.list = to_raw_response_wrapper(
|
|
706
790
|
benchmarks.list,
|
|
707
791
|
)
|
|
792
|
+
self.definitions = to_raw_response_wrapper(
|
|
793
|
+
benchmarks.definitions,
|
|
794
|
+
)
|
|
708
795
|
self.list_public = to_raw_response_wrapper(
|
|
709
796
|
benchmarks.list_public,
|
|
710
797
|
)
|
|
@@ -733,6 +820,9 @@ class AsyncBenchmarksResourceWithRawResponse:
|
|
|
733
820
|
self.list = async_to_raw_response_wrapper(
|
|
734
821
|
benchmarks.list,
|
|
735
822
|
)
|
|
823
|
+
self.definitions = async_to_raw_response_wrapper(
|
|
824
|
+
benchmarks.definitions,
|
|
825
|
+
)
|
|
736
826
|
self.list_public = async_to_raw_response_wrapper(
|
|
737
827
|
benchmarks.list_public,
|
|
738
828
|
)
|
|
@@ -761,6 +851,9 @@ class BenchmarksResourceWithStreamingResponse:
|
|
|
761
851
|
self.list = to_streamed_response_wrapper(
|
|
762
852
|
benchmarks.list,
|
|
763
853
|
)
|
|
854
|
+
self.definitions = to_streamed_response_wrapper(
|
|
855
|
+
benchmarks.definitions,
|
|
856
|
+
)
|
|
764
857
|
self.list_public = to_streamed_response_wrapper(
|
|
765
858
|
benchmarks.list_public,
|
|
766
859
|
)
|
|
@@ -789,6 +882,9 @@ class AsyncBenchmarksResourceWithStreamingResponse:
|
|
|
789
882
|
self.list = async_to_streamed_response_wrapper(
|
|
790
883
|
benchmarks.list,
|
|
791
884
|
)
|
|
885
|
+
self.definitions = async_to_streamed_response_wrapper(
|
|
886
|
+
benchmarks.definitions,
|
|
887
|
+
)
|
|
792
888
|
self.list_public = async_to_streamed_response_wrapper(
|
|
793
889
|
benchmarks.list_public,
|
|
794
890
|
)
|
|
@@ -170,7 +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
|
-
|
|
173
|
+
repo_connection_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
174
174
|
snapshot_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
175
175
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
176
176
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -216,7 +216,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
216
216
|
prebuilt: Reference to prebuilt Blueprint to create the Devbox from. Should not be used
|
|
217
217
|
together with (Snapshot ID, Blueprint ID, or Blueprint name).
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
repo_connection_id: Repository connection id the devbox should source its base image from.
|
|
220
220
|
|
|
221
221
|
snapshot_id: Snapshot ID to use for the Devbox. Only one of (Snapshot ID, Blueprint ID,
|
|
222
222
|
Blueprint name) should be specified.
|
|
@@ -245,7 +245,7 @@ class DevboxesResource(SyncAPIResource):
|
|
|
245
245
|
"metadata": metadata,
|
|
246
246
|
"name": name,
|
|
247
247
|
"prebuilt": prebuilt,
|
|
248
|
-
"
|
|
248
|
+
"repo_connection_id": repo_connection_id,
|
|
249
249
|
"snapshot_id": snapshot_id,
|
|
250
250
|
},
|
|
251
251
|
devbox_create_params.DevboxCreateParams,
|
|
@@ -1429,7 +1429,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
1429
1429
|
metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
|
|
1430
1430
|
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1431
1431
|
prebuilt: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1432
|
-
|
|
1432
|
+
repo_connection_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1433
1433
|
snapshot_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
1434
1434
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1435
1435
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -1475,7 +1475,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
1475
1475
|
prebuilt: Reference to prebuilt Blueprint to create the Devbox from. Should not be used
|
|
1476
1476
|
together with (Snapshot ID, Blueprint ID, or Blueprint name).
|
|
1477
1477
|
|
|
1478
|
-
|
|
1478
|
+
repo_connection_id: Repository connection id the devbox should source its base image from.
|
|
1479
1479
|
|
|
1480
1480
|
snapshot_id: Snapshot ID to use for the Devbox. Only one of (Snapshot ID, Blueprint ID,
|
|
1481
1481
|
Blueprint name) should be specified.
|
|
@@ -1504,7 +1504,7 @@ class AsyncDevboxesResource(AsyncAPIResource):
|
|
|
1504
1504
|
"metadata": metadata,
|
|
1505
1505
|
"name": name,
|
|
1506
1506
|
"prebuilt": prebuilt,
|
|
1507
|
-
"
|
|
1507
|
+
"repo_connection_id": repo_connection_id,
|
|
1508
1508
|
"snapshot_id": snapshot_id,
|
|
1509
1509
|
},
|
|
1510
1510
|
devbox_create_params.DevboxCreateParams,
|
|
@@ -6,7 +6,7 @@ from typing import Optional
|
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
|
-
from ..types import repository_list_params, repository_create_params
|
|
9
|
+
from ..types import repository_list_params, repository_create_params, repository_refresh_params
|
|
10
10
|
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
11
11
|
from .._utils import maybe_transform, async_maybe_transform
|
|
12
12
|
from .._compat import cached_property
|
|
@@ -272,6 +272,8 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
272
272
|
self,
|
|
273
273
|
id: str,
|
|
274
274
|
*,
|
|
275
|
+
blueprint_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
276
|
+
github_auth_token: Optional[str] | NotGiven = NOT_GIVEN,
|
|
275
277
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
276
278
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
277
279
|
extra_headers: Headers | None = None,
|
|
@@ -285,6 +287,10 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
285
287
|
repo's technical stack and developer environment requirements.
|
|
286
288
|
|
|
287
289
|
Args:
|
|
290
|
+
blueprint_id: ID of blueprint to use as base for resulting RepositoryVersion blueprint.
|
|
291
|
+
|
|
292
|
+
github_auth_token: GitHub authentication token for accessing private repositories.
|
|
293
|
+
|
|
288
294
|
extra_headers: Send extra headers
|
|
289
295
|
|
|
290
296
|
extra_query: Add additional query parameters to the request
|
|
@@ -299,6 +305,13 @@ class RepositoriesResource(SyncAPIResource):
|
|
|
299
305
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
300
306
|
return self._post(
|
|
301
307
|
f"/v1/repositories/{id}/refresh",
|
|
308
|
+
body=maybe_transform(
|
|
309
|
+
{
|
|
310
|
+
"blueprint_id": blueprint_id,
|
|
311
|
+
"github_auth_token": github_auth_token,
|
|
312
|
+
},
|
|
313
|
+
repository_refresh_params.RepositoryRefreshParams,
|
|
314
|
+
),
|
|
302
315
|
options=make_request_options(
|
|
303
316
|
extra_headers=extra_headers,
|
|
304
317
|
extra_query=extra_query,
|
|
@@ -557,6 +570,8 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
557
570
|
self,
|
|
558
571
|
id: str,
|
|
559
572
|
*,
|
|
573
|
+
blueprint_id: Optional[str] | NotGiven = NOT_GIVEN,
|
|
574
|
+
github_auth_token: Optional[str] | NotGiven = NOT_GIVEN,
|
|
560
575
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
561
576
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
562
577
|
extra_headers: Headers | None = None,
|
|
@@ -570,6 +585,10 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
570
585
|
repo's technical stack and developer environment requirements.
|
|
571
586
|
|
|
572
587
|
Args:
|
|
588
|
+
blueprint_id: ID of blueprint to use as base for resulting RepositoryVersion blueprint.
|
|
589
|
+
|
|
590
|
+
github_auth_token: GitHub authentication token for accessing private repositories.
|
|
591
|
+
|
|
573
592
|
extra_headers: Send extra headers
|
|
574
593
|
|
|
575
594
|
extra_query: Add additional query parameters to the request
|
|
@@ -584,6 +603,13 @@ class AsyncRepositoriesResource(AsyncAPIResource):
|
|
|
584
603
|
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
|
|
585
604
|
return await self._post(
|
|
586
605
|
f"/v1/repositories/{id}/refresh",
|
|
606
|
+
body=await async_maybe_transform(
|
|
607
|
+
{
|
|
608
|
+
"blueprint_id": blueprint_id,
|
|
609
|
+
"github_auth_token": github_auth_token,
|
|
610
|
+
},
|
|
611
|
+
repository_refresh_params.RepositoryRefreshParams,
|
|
612
|
+
),
|
|
587
613
|
options=make_request_options(
|
|
588
614
|
extra_headers=extra_headers,
|
|
589
615
|
extra_query=extra_query,
|
|
@@ -83,7 +83,6 @@ class ScenariosResource(SyncAPIResource):
|
|
|
83
83
|
self,
|
|
84
84
|
*,
|
|
85
85
|
input_context: InputContextParam,
|
|
86
|
-
is_public: bool,
|
|
87
86
|
name: str,
|
|
88
87
|
scoring_contract: ScoringContractParam,
|
|
89
88
|
environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN,
|
|
@@ -104,8 +103,6 @@ class ScenariosResource(SyncAPIResource):
|
|
|
104
103
|
Args:
|
|
105
104
|
input_context: The input context for the Scenario.
|
|
106
105
|
|
|
107
|
-
is_public: Whether this scenario is public.
|
|
108
|
-
|
|
109
106
|
name: Name of the scenario.
|
|
110
107
|
|
|
111
108
|
scoring_contract: The scoring contract for the Scenario.
|
|
@@ -133,7 +130,6 @@ class ScenariosResource(SyncAPIResource):
|
|
|
133
130
|
body=maybe_transform(
|
|
134
131
|
{
|
|
135
132
|
"input_context": input_context,
|
|
136
|
-
"is_public": is_public,
|
|
137
133
|
"name": name,
|
|
138
134
|
"scoring_contract": scoring_contract,
|
|
139
135
|
"environment_parameters": environment_parameters,
|
|
@@ -190,7 +186,6 @@ class ScenariosResource(SyncAPIResource):
|
|
|
190
186
|
id: str,
|
|
191
187
|
*,
|
|
192
188
|
input_context: InputContextParam,
|
|
193
|
-
is_public: bool,
|
|
194
189
|
name: str,
|
|
195
190
|
scoring_contract: ScoringContractParam,
|
|
196
191
|
environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN,
|
|
@@ -211,8 +206,6 @@ class ScenariosResource(SyncAPIResource):
|
|
|
211
206
|
Args:
|
|
212
207
|
input_context: The input context for the Scenario.
|
|
213
208
|
|
|
214
|
-
is_public: Whether this scenario is public.
|
|
215
|
-
|
|
216
209
|
name: Name of the scenario.
|
|
217
210
|
|
|
218
211
|
scoring_contract: The scoring contract for the Scenario.
|
|
@@ -242,7 +235,6 @@ class ScenariosResource(SyncAPIResource):
|
|
|
242
235
|
body=maybe_transform(
|
|
243
236
|
{
|
|
244
237
|
"input_context": input_context,
|
|
245
|
-
"is_public": is_public,
|
|
246
238
|
"name": name,
|
|
247
239
|
"scoring_contract": scoring_contract,
|
|
248
240
|
"environment_parameters": environment_parameters,
|
|
@@ -514,7 +506,6 @@ class AsyncScenariosResource(AsyncAPIResource):
|
|
|
514
506
|
self,
|
|
515
507
|
*,
|
|
516
508
|
input_context: InputContextParam,
|
|
517
|
-
is_public: bool,
|
|
518
509
|
name: str,
|
|
519
510
|
scoring_contract: ScoringContractParam,
|
|
520
511
|
environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN,
|
|
@@ -535,8 +526,6 @@ class AsyncScenariosResource(AsyncAPIResource):
|
|
|
535
526
|
Args:
|
|
536
527
|
input_context: The input context for the Scenario.
|
|
537
528
|
|
|
538
|
-
is_public: Whether this scenario is public.
|
|
539
|
-
|
|
540
529
|
name: Name of the scenario.
|
|
541
530
|
|
|
542
531
|
scoring_contract: The scoring contract for the Scenario.
|
|
@@ -564,7 +553,6 @@ class AsyncScenariosResource(AsyncAPIResource):
|
|
|
564
553
|
body=await async_maybe_transform(
|
|
565
554
|
{
|
|
566
555
|
"input_context": input_context,
|
|
567
|
-
"is_public": is_public,
|
|
568
556
|
"name": name,
|
|
569
557
|
"scoring_contract": scoring_contract,
|
|
570
558
|
"environment_parameters": environment_parameters,
|
|
@@ -621,7 +609,6 @@ class AsyncScenariosResource(AsyncAPIResource):
|
|
|
621
609
|
id: str,
|
|
622
610
|
*,
|
|
623
611
|
input_context: InputContextParam,
|
|
624
|
-
is_public: bool,
|
|
625
612
|
name: str,
|
|
626
613
|
scoring_contract: ScoringContractParam,
|
|
627
614
|
environment_parameters: Optional[ScenarioEnvironmentParam] | NotGiven = NOT_GIVEN,
|
|
@@ -642,8 +629,6 @@ class AsyncScenariosResource(AsyncAPIResource):
|
|
|
642
629
|
Args:
|
|
643
630
|
input_context: The input context for the Scenario.
|
|
644
631
|
|
|
645
|
-
is_public: Whether this scenario is public.
|
|
646
|
-
|
|
647
632
|
name: Name of the scenario.
|
|
648
633
|
|
|
649
634
|
scoring_contract: The scoring contract for the Scenario.
|
|
@@ -673,7 +658,6 @@ class AsyncScenariosResource(AsyncAPIResource):
|
|
|
673
658
|
body=await async_maybe_transform(
|
|
674
659
|
{
|
|
675
660
|
"input_context": input_context,
|
|
676
|
-
"is_public": is_public,
|
|
677
661
|
"name": name,
|
|
678
662
|
"scoring_contract": scoring_contract,
|
|
679
663
|
"environment_parameters": environment_parameters,
|
{runloop_api_client-0.38.0 → runloop_api_client-0.40.0}/src/runloop_api_client/types/__init__.py
RENAMED
|
@@ -45,6 +45,7 @@ from .repository_create_params import RepositoryCreateParams as RepositoryCreate
|
|
|
45
45
|
from .repository_manifest_view import RepositoryManifestView as RepositoryManifestView
|
|
46
46
|
from .devbox_snapshot_list_view import DevboxSnapshotListView as DevboxSnapshotListView
|
|
47
47
|
from .devbox_upload_file_params import DevboxUploadFileParams as DevboxUploadFileParams
|
|
48
|
+
from .repository_refresh_params import RepositoryRefreshParams as RepositoryRefreshParams
|
|
48
49
|
from .scenario_start_run_params import ScenarioStartRunParams as ScenarioStartRunParams
|
|
49
50
|
from .benchmark_start_run_params import BenchmarkStartRunParams as BenchmarkStartRunParams
|
|
50
51
|
from .blueprint_build_parameters import BlueprintBuildParameters as BlueprintBuildParameters
|
|
@@ -57,11 +58,13 @@ from .devbox_execute_async_params import DevboxExecuteAsyncParams as DevboxExecu
|
|
|
57
58
|
from .devbox_remove_tunnel_params import DevboxRemoveTunnelParams as DevboxRemoveTunnelParams
|
|
58
59
|
from .devbox_snapshot_disk_params import DevboxSnapshotDiskParams as DevboxSnapshotDiskParams
|
|
59
60
|
from .scenario_list_public_params import ScenarioListPublicParams as ScenarioListPublicParams
|
|
61
|
+
from .benchmark_definitions_params import BenchmarkDefinitionsParams as BenchmarkDefinitionsParams
|
|
60
62
|
from .benchmark_list_public_params import BenchmarkListPublicParams as BenchmarkListPublicParams
|
|
61
63
|
from .devbox_execution_detail_view import DevboxExecutionDetailView as DevboxExecutionDetailView
|
|
62
64
|
from .scoring_contract_result_view import ScoringContractResultView as ScoringContractResultView
|
|
63
65
|
from .scoring_function_result_view import ScoringFunctionResultView as ScoringFunctionResultView
|
|
64
66
|
from .repository_inspection_details import RepositoryInspectionDetails as RepositoryInspectionDetails
|
|
67
|
+
from .scenario_definition_list_view import ScenarioDefinitionListView as ScenarioDefinitionListView
|
|
65
68
|
from .blueprint_build_logs_list_view import BlueprintBuildLogsListView as BlueprintBuildLogsListView
|
|
66
69
|
from .devbox_create_ssh_key_response import DevboxCreateSSHKeyResponse as DevboxCreateSSHKeyResponse
|
|
67
70
|
from .repository_connection_list_view import RepositoryConnectionListView as RepositoryConnectionListView
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["BenchmarkDefinitionsParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BenchmarkDefinitionsParams(TypedDict, total=False):
|
|
11
|
+
limit: int
|
|
12
|
+
"""The limit of items to return. Default is 20."""
|
|
13
|
+
|
|
14
|
+
starting_after: str
|
|
15
|
+
"""Load the next page of data starting after the item with the given ID."""
|
|
@@ -1,25 +1,11 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
from typing import Dict,
|
|
3
|
+
from typing import Dict, Optional
|
|
4
4
|
from typing_extensions import Literal
|
|
5
5
|
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
7
|
-
|
|
8
6
|
from .._models import BaseModel
|
|
9
|
-
from .scoring_contract_result_view import ScoringContractResultView
|
|
10
|
-
|
|
11
|
-
__all__ = ["BenchmarkRunView", "ScenarioRun"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class ScenarioRun(BaseModel):
|
|
15
|
-
scenario_id: str
|
|
16
|
-
"""ID of the Scenario that has been run."""
|
|
17
7
|
|
|
18
|
-
|
|
19
|
-
"""The scoring result of the ScenarioRun."""
|
|
20
|
-
|
|
21
|
-
scenario_run_id: Optional[str] = FieldInfo(alias="scenarioRunId", default=None)
|
|
22
|
-
"""ID of the scenario run."""
|
|
8
|
+
__all__ = ["BenchmarkRunView"]
|
|
23
9
|
|
|
24
10
|
|
|
25
11
|
class BenchmarkRunView(BaseModel):
|
|
@@ -32,12 +18,6 @@ class BenchmarkRunView(BaseModel):
|
|
|
32
18
|
metadata: Dict[str, str]
|
|
33
19
|
"""User defined metadata to attach to the benchmark run for organization."""
|
|
34
20
|
|
|
35
|
-
pending_scenarios: List[str]
|
|
36
|
-
"""List of Scenarios that have yet to be scored."""
|
|
37
|
-
|
|
38
|
-
scenario_runs: List[ScenarioRun]
|
|
39
|
-
"""List of Scenarios have been completed."""
|
|
40
|
-
|
|
41
21
|
start_time_ms: int
|
|
42
22
|
"""The time the benchmark run execution started (Unix timestamp milliseconds)."""
|
|
43
23
|
|