runloop-api-client 0.20.0__tar.gz → 0.21.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.21.0/.release-please-manifest.json +3 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/CHANGELOG.md +8 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/PKG-INFO +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/api.md +5 -5
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/pyproject.toml +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/lsp.py +29 -20
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/__init__.py +5 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_code_action.py +2 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/code_action_context_param.py +6 -3
- runloop_api_client-0.21.0/src/runloop_api_client/types/devboxes/code_actions_response.py +13 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/code_description_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/diagnostic_param.py +6 -3
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/diagnostic_related_information_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/document_symbol.py +7 -1
- runloop_api_client-0.21.0/src/runloop_api_client/types/devboxes/document_symbol_response.py +26 -0
- runloop_api_client-0.21.0/src/runloop_api_client/types/devboxes/file_definition_response.py +10 -0
- runloop_api_client-0.21.0/src/runloop_api_client/types/devboxes/formatting_response.py +10 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/location_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py +2 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/position.py +7 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/position_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/range.py +7 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/range_param.py +6 -2
- runloop_api_client-0.21.0/src/runloop_api_client/types/devboxes/references_response.py +10 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/text_edit.py +7 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/text_edit_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/devboxes/test_lsp.py +39 -32
- runloop_api_client-0.20.0/.release-please-manifest.json +0 -3
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/.gitignore +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/LICENSE +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/README.md +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/SECURITY.md +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/bin/check-release-environment +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/bin/publish-pypi +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/examples/.keep +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/mypy.ini +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/noxfile.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/release-please-config.json +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/requirements-dev.lock +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/requirements.lock +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/lib/polling.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/lib/polling_async.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/pagination.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/benchmarks/benchmarks.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/benchmarks/runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/browsers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/computers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/devboxes.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/executions.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/repositories.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/scenarios/runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/scenarios/scenarios.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/resources/scenarios/scorers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_list_public_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_run_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_run_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_start_run_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmark_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/benchmarks/run_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_create_tunnel_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_download_file_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_execute_async_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_list_disk_snapshots_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_remove_tunnel_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_snapshot_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devbox_write_file_contents_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_command.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_command_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_diagnostic.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_diagnostic_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_location.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_markup_content.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_parameter_information.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_range.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_range_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_signature.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_workspace_edit.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/base_workspace_edit_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/browser_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/code_action_application_result.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/code_action_kind.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/code_action_trigger_kind.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/code_segment_info_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/computer_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/diagnostic_severity.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/diagnostic_tag.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/diagnostics_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/document_uri.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/file_contents_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/file_path.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/file_uri.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/health_status_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/integer.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/l_sp_any_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/log_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_code_actions_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_file_definition_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_file_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_files_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_formatting_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_references_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/signature_help_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/symbol_kind.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/symbol_tag.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/symbol_type.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/u_ri.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/uinteger.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/devboxes/watched_file_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/input_context.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/input_context_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/repository_connection_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/repository_connection_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/repository_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/repository_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/repository_version_details.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/repository_version_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_environment.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_environment_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_list_public_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_run_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_run_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_start_run_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenario_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/run_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_create_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_list_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_retrieve_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_update_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_update_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_validate_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scenarios/scorer_validate_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scoring_contract.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scoring_contract_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scoring_contract_result_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scoring_function.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scoring_function_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/scoring_function_result_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared/after_idle.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared/code_mount_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared/launch_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared_params/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared_params/after_idle.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared_params/code_mount_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/benchmarks/test_runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/devboxes/test_browsers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/devboxes/test_computers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/devboxes/test_executions.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/devboxes/test_logs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/scenarios/test_runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/scenarios/test_scorers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/test_benchmarks.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/test_blueprints.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/test_devboxes.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/test_repositories.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/api_resources/test_scenarios.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/conftest.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_client.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_files.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_models.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_qs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_transform.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.21.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.0 (2025-02-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.20.0...v0.21.0](https://github.com/runloopai/api-client-python/compare/v0.20.0...v0.21.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#528](https://github.com/runloopai/api-client-python/issues/528)) ([d731dad](https://github.com/runloopai/api-client-python/commit/d731dadc4b7095967be1184bf2f490f4405e8237))
|
|
10
|
+
|
|
3
11
|
## 0.20.0 (2025-02-04)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.19.0...v0.20.0](https://github.com/runloopai/api-client-python/compare/v0.19.0...v0.20.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.21.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
|
|
@@ -201,18 +201,18 @@ from runloop_api_client.types.devboxes import (
|
|
|
201
201
|
Methods:
|
|
202
202
|
|
|
203
203
|
- <code title="post /v1/devboxes/{id}/lsp/apply-code-action">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">apply_code_action</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_action_application_result.py">CodeActionApplicationResult</a></code>
|
|
204
|
-
- <code title="post /v1/devboxes/{id}/lsp/code-actions">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">code_actions</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_code_actions_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_actions_response.py">
|
|
204
|
+
- <code title="post /v1/devboxes/{id}/lsp/code-actions">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">code_actions</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_code_actions_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_actions_response.py">CodeActionsResponse</a></code>
|
|
205
205
|
- <code title="post /v1/devboxes/{id}/lsp/diagnostics">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">diagnostics</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/diagnostics_response.py">DiagnosticsResponse</a></code>
|
|
206
|
-
- <code title="post /v1/devboxes/{id}/lsp/document-symbols">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">document_symbols</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/document_symbol_response.py">
|
|
206
|
+
- <code title="post /v1/devboxes/{id}/lsp/document-symbols">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">document_symbols</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/document_symbol_response.py">DocumentSymbolResponse</a></code>
|
|
207
207
|
- <code title="post /v1/devboxes/{id}/lsp/file">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">file</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_file_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/file_contents_response.py">FileContentsResponse</a></code>
|
|
208
|
-
- <code title="post /v1/devboxes/{id}/lsp/file-definition">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">file_definition</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_file_definition_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/file_definition_response.py">
|
|
208
|
+
- <code title="post /v1/devboxes/{id}/lsp/file-definition">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">file_definition</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_file_definition_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/file_definition_response.py">FileDefinitionResponse</a></code>
|
|
209
209
|
- <code title="get /v1/devboxes/{id}/lsp/files">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">files</a>(id) -> <a href="./src/runloop_api_client/types/devboxes/lsp_files_response.py">LspFilesResponse</a></code>
|
|
210
|
-
- <code title="post /v1/devboxes/{id}/lsp/formatting">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">formatting</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_formatting_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/formatting_response.py">
|
|
210
|
+
- <code title="post /v1/devboxes/{id}/lsp/formatting">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">formatting</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_formatting_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/formatting_response.py">FormattingResponse</a></code>
|
|
211
211
|
- <code title="post /v1/devboxes/{id}/lsp/get-code-actions-for-diagnostic">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">get_code_actions_for_diagnostic</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py">LspGetCodeActionsForDiagnosticResponse</a></code>
|
|
212
212
|
- <code title="post /v1/devboxes/{id}/lsp/get-code-segment-info">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">get_code_segment_info</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_segment_info_response.py">CodeSegmentInfoResponse</a></code>
|
|
213
213
|
- <code title="post /v1/devboxes/{id}/lsp/get-signature-help">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">get_signature_help</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/signature_help_response.py">SignatureHelpResponse</a></code>
|
|
214
214
|
- <code title="get /v1/devboxes/{id}/lsp/health">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">health</a>(id) -> <a href="./src/runloop_api_client/types/devboxes/health_status_response.py">HealthStatusResponse</a></code>
|
|
215
|
-
- <code title="post /v1/devboxes/{id}/lsp/references">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">references</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_references_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/references_response.py">
|
|
215
|
+
- <code title="post /v1/devboxes/{id}/lsp/references">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">references</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_references_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/references_response.py">ReferencesResponse</a></code>
|
|
216
216
|
- <code title="post /v1/devboxes/{id}/lsp/set-watch-directory">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">set_watch_directory</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py">params</a>) -> str</code>
|
|
217
217
|
|
|
218
218
|
## Logs
|
|
@@ -41,11 +41,16 @@ from ...types.devboxes.range_param import RangeParam
|
|
|
41
41
|
from ...types.devboxes.symbol_type import SymbolType
|
|
42
42
|
from ...types.devboxes.base_command_param import BaseCommandParam
|
|
43
43
|
from ...types.devboxes.lsp_files_response import LspFilesResponse
|
|
44
|
+
from ...types.devboxes.formatting_response import FormattingResponse
|
|
45
|
+
from ...types.devboxes.references_response import ReferencesResponse
|
|
44
46
|
from ...types.devboxes.diagnostics_response import DiagnosticsResponse
|
|
45
47
|
from ...types.devboxes.base_diagnostic_param import BaseDiagnosticParam
|
|
48
|
+
from ...types.devboxes.code_actions_response import CodeActionsResponse
|
|
46
49
|
from ...types.devboxes.file_contents_response import FileContentsResponse
|
|
47
50
|
from ...types.devboxes.health_status_response import HealthStatusResponse
|
|
48
51
|
from ...types.devboxes.signature_help_response import SignatureHelpResponse
|
|
52
|
+
from ...types.devboxes.document_symbol_response import DocumentSymbolResponse
|
|
53
|
+
from ...types.devboxes.file_definition_response import FileDefinitionResponse
|
|
49
54
|
from ...types.devboxes.base_workspace_edit_param import BaseWorkspaceEditParam
|
|
50
55
|
from ...types.devboxes.code_action_context_param import CodeActionContextParam
|
|
51
56
|
from ...types.devboxes.code_segment_info_response import CodeSegmentInfoResponse
|
|
@@ -83,6 +88,7 @@ class LspResource(SyncAPIResource):
|
|
|
83
88
|
command: BaseCommandParam | NotGiven = NOT_GIVEN,
|
|
84
89
|
edit: BaseWorkspaceEditParam | NotGiven = NOT_GIVEN,
|
|
85
90
|
is_preferred: bool | NotGiven = NOT_GIVEN,
|
|
91
|
+
kind: str | NotGiven = NOT_GIVEN,
|
|
86
92
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
87
93
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
88
94
|
extra_headers: Headers | None = None,
|
|
@@ -116,6 +122,7 @@ class LspResource(SyncAPIResource):
|
|
|
116
122
|
"command": command,
|
|
117
123
|
"edit": edit,
|
|
118
124
|
"is_preferred": is_preferred,
|
|
125
|
+
"kind": kind,
|
|
119
126
|
},
|
|
120
127
|
lsp_apply_code_action_params.LspApplyCodeActionParams,
|
|
121
128
|
),
|
|
@@ -143,7 +150,7 @@ class LspResource(SyncAPIResource):
|
|
|
143
150
|
extra_body: Body | None = None,
|
|
144
151
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
145
152
|
idempotency_key: str | None = None,
|
|
146
|
-
) ->
|
|
153
|
+
) -> CodeActionsResponse:
|
|
147
154
|
"""Get code actions for a part of a document.
|
|
148
155
|
|
|
149
156
|
This method calls the
|
|
@@ -203,7 +210,7 @@ class LspResource(SyncAPIResource):
|
|
|
203
210
|
timeout=timeout,
|
|
204
211
|
idempotency_key=idempotency_key,
|
|
205
212
|
),
|
|
206
|
-
cast_to=
|
|
213
|
+
cast_to=CodeActionsResponse,
|
|
207
214
|
)
|
|
208
215
|
|
|
209
216
|
def diagnostics(
|
|
@@ -260,7 +267,7 @@ class LspResource(SyncAPIResource):
|
|
|
260
267
|
extra_body: Body | None = None,
|
|
261
268
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
262
269
|
idempotency_key: str | None = None,
|
|
263
|
-
) ->
|
|
270
|
+
) -> DocumentSymbolResponse:
|
|
264
271
|
"""
|
|
265
272
|
Get document symbols for a given document.
|
|
266
273
|
|
|
@@ -287,7 +294,7 @@ class LspResource(SyncAPIResource):
|
|
|
287
294
|
timeout=timeout,
|
|
288
295
|
idempotency_key=idempotency_key,
|
|
289
296
|
),
|
|
290
|
-
cast_to=
|
|
297
|
+
cast_to=DocumentSymbolResponse,
|
|
291
298
|
)
|
|
292
299
|
|
|
293
300
|
def file(
|
|
@@ -346,7 +353,7 @@ class LspResource(SyncAPIResource):
|
|
|
346
353
|
extra_body: Body | None = None,
|
|
347
354
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
348
355
|
idempotency_key: str | None = None,
|
|
349
|
-
) ->
|
|
356
|
+
) -> FileDefinitionResponse:
|
|
350
357
|
"""
|
|
351
358
|
Get the definition of a symbol at a given position in a file
|
|
352
359
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition
|
|
@@ -381,7 +388,7 @@ class LspResource(SyncAPIResource):
|
|
|
381
388
|
timeout=timeout,
|
|
382
389
|
idempotency_key=idempotency_key,
|
|
383
390
|
),
|
|
384
|
-
cast_to=
|
|
391
|
+
cast_to=FileDefinitionResponse,
|
|
385
392
|
)
|
|
386
393
|
|
|
387
394
|
def files(
|
|
@@ -429,7 +436,7 @@ class LspResource(SyncAPIResource):
|
|
|
429
436
|
extra_body: Body | None = None,
|
|
430
437
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
431
438
|
idempotency_key: str | None = None,
|
|
432
|
-
) ->
|
|
439
|
+
) -> FormattingResponse:
|
|
433
440
|
"""
|
|
434
441
|
Get formatting changes for a given document.
|
|
435
442
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting
|
|
@@ -457,7 +464,7 @@ class LspResource(SyncAPIResource):
|
|
|
457
464
|
timeout=timeout,
|
|
458
465
|
idempotency_key=idempotency_key,
|
|
459
466
|
),
|
|
460
|
-
cast_to=
|
|
467
|
+
cast_to=FormattingResponse,
|
|
461
468
|
)
|
|
462
469
|
|
|
463
470
|
def get_code_actions_for_diagnostic(
|
|
@@ -661,7 +668,7 @@ class LspResource(SyncAPIResource):
|
|
|
661
668
|
extra_body: Body | None = None,
|
|
662
669
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
663
670
|
idempotency_key: str | None = None,
|
|
664
|
-
) ->
|
|
671
|
+
) -> ReferencesResponse:
|
|
665
672
|
"""Get references for a given symbol.
|
|
666
673
|
|
|
667
674
|
This method calls the `getReferences` method
|
|
@@ -699,7 +706,7 @@ class LspResource(SyncAPIResource):
|
|
|
699
706
|
timeout=timeout,
|
|
700
707
|
idempotency_key=idempotency_key,
|
|
701
708
|
),
|
|
702
|
-
cast_to=
|
|
709
|
+
cast_to=ReferencesResponse,
|
|
703
710
|
)
|
|
704
711
|
|
|
705
712
|
def set_watch_directory(
|
|
@@ -774,6 +781,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
774
781
|
command: BaseCommandParam | NotGiven = NOT_GIVEN,
|
|
775
782
|
edit: BaseWorkspaceEditParam | NotGiven = NOT_GIVEN,
|
|
776
783
|
is_preferred: bool | NotGiven = NOT_GIVEN,
|
|
784
|
+
kind: str | NotGiven = NOT_GIVEN,
|
|
777
785
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
778
786
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
779
787
|
extra_headers: Headers | None = None,
|
|
@@ -807,6 +815,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
807
815
|
"command": command,
|
|
808
816
|
"edit": edit,
|
|
809
817
|
"is_preferred": is_preferred,
|
|
818
|
+
"kind": kind,
|
|
810
819
|
},
|
|
811
820
|
lsp_apply_code_action_params.LspApplyCodeActionParams,
|
|
812
821
|
),
|
|
@@ -834,7 +843,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
834
843
|
extra_body: Body | None = None,
|
|
835
844
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
836
845
|
idempotency_key: str | None = None,
|
|
837
|
-
) ->
|
|
846
|
+
) -> CodeActionsResponse:
|
|
838
847
|
"""Get code actions for a part of a document.
|
|
839
848
|
|
|
840
849
|
This method calls the
|
|
@@ -894,7 +903,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
894
903
|
timeout=timeout,
|
|
895
904
|
idempotency_key=idempotency_key,
|
|
896
905
|
),
|
|
897
|
-
cast_to=
|
|
906
|
+
cast_to=CodeActionsResponse,
|
|
898
907
|
)
|
|
899
908
|
|
|
900
909
|
async def diagnostics(
|
|
@@ -951,7 +960,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
951
960
|
extra_body: Body | None = None,
|
|
952
961
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
953
962
|
idempotency_key: str | None = None,
|
|
954
|
-
) ->
|
|
963
|
+
) -> DocumentSymbolResponse:
|
|
955
964
|
"""
|
|
956
965
|
Get document symbols for a given document.
|
|
957
966
|
|
|
@@ -978,7 +987,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
978
987
|
timeout=timeout,
|
|
979
988
|
idempotency_key=idempotency_key,
|
|
980
989
|
),
|
|
981
|
-
cast_to=
|
|
990
|
+
cast_to=DocumentSymbolResponse,
|
|
982
991
|
)
|
|
983
992
|
|
|
984
993
|
async def file(
|
|
@@ -1037,7 +1046,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1037
1046
|
extra_body: Body | None = None,
|
|
1038
1047
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1039
1048
|
idempotency_key: str | None = None,
|
|
1040
|
-
) ->
|
|
1049
|
+
) -> FileDefinitionResponse:
|
|
1041
1050
|
"""
|
|
1042
1051
|
Get the definition of a symbol at a given position in a file
|
|
1043
1052
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition
|
|
@@ -1072,7 +1081,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1072
1081
|
timeout=timeout,
|
|
1073
1082
|
idempotency_key=idempotency_key,
|
|
1074
1083
|
),
|
|
1075
|
-
cast_to=
|
|
1084
|
+
cast_to=FileDefinitionResponse,
|
|
1076
1085
|
)
|
|
1077
1086
|
|
|
1078
1087
|
async def files(
|
|
@@ -1120,7 +1129,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1120
1129
|
extra_body: Body | None = None,
|
|
1121
1130
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1122
1131
|
idempotency_key: str | None = None,
|
|
1123
|
-
) ->
|
|
1132
|
+
) -> FormattingResponse:
|
|
1124
1133
|
"""
|
|
1125
1134
|
Get formatting changes for a given document.
|
|
1126
1135
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting
|
|
@@ -1148,7 +1157,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1148
1157
|
timeout=timeout,
|
|
1149
1158
|
idempotency_key=idempotency_key,
|
|
1150
1159
|
),
|
|
1151
|
-
cast_to=
|
|
1160
|
+
cast_to=FormattingResponse,
|
|
1152
1161
|
)
|
|
1153
1162
|
|
|
1154
1163
|
async def get_code_actions_for_diagnostic(
|
|
@@ -1352,7 +1361,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1352
1361
|
extra_body: Body | None = None,
|
|
1353
1362
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1354
1363
|
idempotency_key: str | None = None,
|
|
1355
|
-
) ->
|
|
1364
|
+
) -> ReferencesResponse:
|
|
1356
1365
|
"""Get references for a given symbol.
|
|
1357
1366
|
|
|
1358
1367
|
This method calls the `getReferences` method
|
|
@@ -1390,7 +1399,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1390
1399
|
timeout=timeout,
|
|
1391
1400
|
idempotency_key=idempotency_key,
|
|
1392
1401
|
),
|
|
1393
|
-
cast_to=
|
|
1402
|
+
cast_to=ReferencesResponse,
|
|
1394
1403
|
)
|
|
1395
1404
|
|
|
1396
1405
|
async def set_watch_directory(
|
|
@@ -39,8 +39,11 @@ from .lsp_files_response import LspFilesResponse as LspFilesResponse
|
|
|
39
39
|
from .base_markup_content import BaseMarkupContent as BaseMarkupContent
|
|
40
40
|
from .base_workspace_edit import BaseWorkspaceEdit as BaseWorkspaceEdit
|
|
41
41
|
from .diagnostic_severity import DiagnosticSeverity as DiagnosticSeverity
|
|
42
|
+
from .formatting_response import FormattingResponse as FormattingResponse
|
|
43
|
+
from .references_response import ReferencesResponse as ReferencesResponse
|
|
42
44
|
from .diagnostics_response import DiagnosticsResponse as DiagnosticsResponse
|
|
43
45
|
from .base_diagnostic_param import BaseDiagnosticParam as BaseDiagnosticParam
|
|
46
|
+
from .code_actions_response import CodeActionsResponse as CodeActionsResponse
|
|
44
47
|
from .devbox_logs_list_view import DevboxLogsListView as DevboxLogsListView
|
|
45
48
|
from .lsp_formatting_params import LspFormattingParams as LspFormattingParams
|
|
46
49
|
from .lsp_references_params import LspReferencesParams as LspReferencesParams
|
|
@@ -53,6 +56,8 @@ from .lsp_diagnostics_params import LspDiagnosticsParams as LspDiagnosticsParams
|
|
|
53
56
|
from .lsp_code_actions_params import LspCodeActionsParams as LspCodeActionsParams
|
|
54
57
|
from .signature_help_response import SignatureHelpResponse as SignatureHelpResponse
|
|
55
58
|
from .code_action_trigger_kind import CodeActionTriggerKind as CodeActionTriggerKind
|
|
59
|
+
from .document_symbol_response import DocumentSymbolResponse as DocumentSymbolResponse
|
|
60
|
+
from .file_definition_response import FileDefinitionResponse as FileDefinitionResponse
|
|
56
61
|
from .base_workspace_edit_param import BaseWorkspaceEditParam as BaseWorkspaceEditParam
|
|
57
62
|
from .code_action_context_param import CodeActionContextParam as CodeActionContextParam
|
|
58
63
|
from .execution_retrieve_params import ExecutionRetrieveParams as ExecutionRetrieveParams
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List, Iterable
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
5
|
+
from typing import Dict, List, Union, Iterable
|
|
6
|
+
from typing_extensions import Required, Annotated, TypeAlias, TypedDict
|
|
7
7
|
|
|
8
8
|
from ..._utils import PropertyInfo
|
|
9
9
|
from .code_action_kind import CodeActionKind
|
|
@@ -13,7 +13,7 @@ from .code_action_trigger_kind import CodeActionTriggerKind
|
|
|
13
13
|
__all__ = ["CodeActionContextParam"]
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class CodeActionContextParamTyped(TypedDict, total=False):
|
|
17
17
|
diagnostics: Required[Iterable[DiagnosticParam]]
|
|
18
18
|
"""
|
|
19
19
|
An array of diagnostics known on the client side overlapping the range provided
|
|
@@ -32,3 +32,6 @@ class CodeActionContextParam(TypedDict, total=False):
|
|
|
32
32
|
|
|
33
33
|
trigger_kind: Annotated[CodeActionTriggerKind, PropertyInfo(alias="triggerKind")]
|
|
34
34
|
"""The reason why code actions were requested."""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
CodeActionContextParam: TypeAlias = Union[CodeActionContextParamTyped, Dict[str, object]]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
5
|
+
|
|
6
|
+
from .base_command import BaseCommand
|
|
7
|
+
from .base_code_action import BaseCodeAction
|
|
8
|
+
|
|
9
|
+
__all__ = ["CodeActionsResponse", "CodeActionsResponseItem"]
|
|
10
|
+
|
|
11
|
+
CodeActionsResponseItem: TypeAlias = Union[BaseCodeAction, BaseCommand]
|
|
12
|
+
|
|
13
|
+
CodeActionsResponse: TypeAlias = List[CodeActionsResponseItem]
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .u_ri import URi
|
|
8
9
|
|
|
9
10
|
__all__ = ["CodeDescriptionParam"]
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
class
|
|
13
|
+
class CodeDescriptionParamTyped(TypedDict, total=False):
|
|
13
14
|
href: Required[URi]
|
|
14
15
|
"""An URI to open with more information about the diagnostic error."""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
CodeDescriptionParam: TypeAlias = Union[CodeDescriptionParamTyped, Dict[str, object]]
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Union, Iterable
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
5
|
+
from typing import Dict, Union, Iterable
|
|
6
|
+
from typing_extensions import Required, Annotated, TypeAlias, TypedDict
|
|
7
7
|
|
|
8
8
|
from .integer import Integer
|
|
9
9
|
from ..._utils import PropertyInfo
|
|
@@ -17,7 +17,7 @@ from .diagnostic_related_information_param import DiagnosticRelatedInformationPa
|
|
|
17
17
|
__all__ = ["DiagnosticParam"]
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class DiagnosticParamTyped(TypedDict, total=False):
|
|
21
21
|
message: Required[str]
|
|
22
22
|
"""The diagnostic's message. It usually appears in the user interface"""
|
|
23
23
|
|
|
@@ -63,3 +63,6 @@ class DiagnosticParam(TypedDict, total=False):
|
|
|
63
63
|
|
|
64
64
|
tags: Iterable[DiagnosticTag]
|
|
65
65
|
"""Additional metadata about the diagnostic."""
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
DiagnosticParam: TypeAlias = Union[DiagnosticParamTyped, Dict[str, object]]
|
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .location_param import LocationParam
|
|
8
9
|
|
|
9
10
|
__all__ = ["DiagnosticRelatedInformationParam"]
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
class
|
|
13
|
+
class DiagnosticRelatedInformationParamTyped(TypedDict, total=False):
|
|
13
14
|
location: Required[LocationParam]
|
|
14
15
|
"""The location of this related diagnostic information."""
|
|
15
16
|
|
|
16
17
|
message: Required[str]
|
|
17
18
|
"""The message of this related diagnostic information."""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DiagnosticRelatedInformationParam: TypeAlias = Union[DiagnosticRelatedInformationParamTyped, Dict[str, object]]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List, Optional
|
|
5
|
+
from typing import TYPE_CHECKING, List, Optional
|
|
6
6
|
|
|
7
7
|
from pydantic import Field as FieldInfo
|
|
8
8
|
|
|
@@ -51,6 +51,12 @@ class DocumentSymbol(BaseModel):
|
|
|
51
51
|
tags: Optional[List[SymbolTag]] = None
|
|
52
52
|
"""Tags for this document symbol."""
|
|
53
53
|
|
|
54
|
+
if TYPE_CHECKING:
|
|
55
|
+
# Stub to indicate that arbitrary properties are accepted.
|
|
56
|
+
# To access properties that are not valid identifiers you can use `getattr`, e.g.
|
|
57
|
+
# `getattr(obj, '$type')`
|
|
58
|
+
def __getattr__(self, attr: str) -> object: ...
|
|
59
|
+
|
|
54
60
|
|
|
55
61
|
if PYDANTIC_V2:
|
|
56
62
|
DocumentSymbol.model_rebuild()
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
5
|
+
|
|
6
|
+
from pydantic import Field as FieldInfo
|
|
7
|
+
|
|
8
|
+
from ..._models import BaseModel
|
|
9
|
+
from .base_range import BaseRange
|
|
10
|
+
from .symbol_kind import SymbolKind
|
|
11
|
+
|
|
12
|
+
__all__ = ["DocumentSymbolResponse", "DocumentSymbolResponseItem"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class DocumentSymbolResponseItem(BaseModel):
|
|
16
|
+
kind: SymbolKind
|
|
17
|
+
"""A symbol kind."""
|
|
18
|
+
|
|
19
|
+
name: str
|
|
20
|
+
|
|
21
|
+
range: BaseRange
|
|
22
|
+
|
|
23
|
+
selection_range: BaseRange = FieldInfo(alias="selectionRange")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
DocumentSymbolResponse: TypeAlias = List[DocumentSymbolResponseItem]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
5
|
+
|
|
6
|
+
from .base_location import BaseLocation
|
|
7
|
+
|
|
8
|
+
__all__ = ["FileDefinitionResponse"]
|
|
9
|
+
|
|
10
|
+
FileDefinitionResponse: TypeAlias = List[BaseLocation]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
5
|
+
|
|
6
|
+
from .text_edit import TextEdit
|
|
7
|
+
|
|
8
|
+
__all__ = ["FormattingResponse"]
|
|
9
|
+
|
|
10
|
+
FormattingResponse: TypeAlias = List[TextEdit]
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .range_param import RangeParam
|
|
8
9
|
from .document_uri import DocumentUri
|
|
@@ -10,7 +11,7 @@ from .document_uri import DocumentUri
|
|
|
10
11
|
__all__ = ["LocationParam"]
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
class
|
|
14
|
+
class LocationParamTyped(TypedDict, total=False):
|
|
14
15
|
range: Required[RangeParam]
|
|
15
16
|
"""A range in a text document expressed as (zero-based) start and end positions.
|
|
16
17
|
|
|
@@ -31,3 +32,6 @@ class LocationParam(TypedDict, total=False):
|
|
|
31
32
|
|
|
32
33
|
uri: Required[DocumentUri]
|
|
33
34
|
"""A tagging type for string properties that are actually document URIs."""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
LocationParam: TypeAlias = Union[LocationParamTyped, Dict[str, object]]
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
3
4
|
|
|
4
5
|
from .uinteger import Uinteger
|
|
5
6
|
from ..._models import BaseModel
|
|
@@ -25,3 +26,9 @@ class Position(BaseModel):
|
|
|
25
26
|
back to the number of lines in the document. If a line number is negative, it
|
|
26
27
|
defaults to 0.
|
|
27
28
|
"""
|
|
29
|
+
|
|
30
|
+
if TYPE_CHECKING:
|
|
31
|
+
# Stub to indicate that arbitrary properties are accepted.
|
|
32
|
+
# To access properties that are not valid identifiers you can use `getattr`, e.g.
|
|
33
|
+
# `getattr(obj, '$type')`
|
|
34
|
+
def __getattr__(self, attr: str) -> object: ...
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .uinteger import Uinteger
|
|
8
9
|
|
|
9
10
|
__all__ = ["PositionParam"]
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
class
|
|
13
|
+
class PositionParamTyped(TypedDict, total=False):
|
|
13
14
|
character: Required[Uinteger]
|
|
14
15
|
"""Character offset on a line in a document (zero-based).
|
|
15
16
|
|
|
@@ -27,3 +28,6 @@ class PositionParam(TypedDict, total=False):
|
|
|
27
28
|
back to the number of lines in the document. If a line number is negative, it
|
|
28
29
|
defaults to 0.
|
|
29
30
|
"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
PositionParam: TypeAlias = Union[PositionParamTyped, Dict[str, object]]
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
3
4
|
|
|
4
5
|
from .position import Position
|
|
5
6
|
from ..._models import BaseModel
|
|
@@ -13,3 +14,9 @@ class Range(BaseModel):
|
|
|
13
14
|
|
|
14
15
|
start: Position
|
|
15
16
|
"""The range's start position."""
|
|
17
|
+
|
|
18
|
+
if TYPE_CHECKING:
|
|
19
|
+
# Stub to indicate that arbitrary properties are accepted.
|
|
20
|
+
# To access properties that are not valid identifiers you can use `getattr`, e.g.
|
|
21
|
+
# `getattr(obj, '$type')`
|
|
22
|
+
def __getattr__(self, attr: str) -> object: ...
|
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .position_param import PositionParam
|
|
8
9
|
|
|
9
10
|
__all__ = ["RangeParam"]
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
class
|
|
13
|
+
class RangeParamTyped(TypedDict, total=False):
|
|
13
14
|
end: Required[PositionParam]
|
|
14
15
|
"""The range's end position."""
|
|
15
16
|
|
|
16
17
|
start: Required[PositionParam]
|
|
17
18
|
"""The range's start position."""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
RangeParam: TypeAlias = Union[RangeParamTyped, Dict[str, object]]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
5
|
+
|
|
6
|
+
from .base_location import BaseLocation
|
|
7
|
+
|
|
8
|
+
__all__ = ["ReferencesResponse"]
|
|
9
|
+
|
|
10
|
+
ReferencesResponse: TypeAlias = List[BaseLocation]
|