daytona_toolbox_api_client_async 0.166.0__tar.gz → 0.167.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.
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/PKG-INFO +1 -1
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/__init__.py +22 -4
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/git_api.py +7 -7
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/process_api.py +294 -16
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/__init__.py +14 -2
- daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/chart.py +132 -0
- daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/chart_element.py +134 -0
- daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/code_run_artifacts.py +110 -0
- daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/code_run_request.py +110 -0
- daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/code_run_response.py +110 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/execute_request.py +3 -1
- daytona_toolbox_api_client_async-0.166.0/daytona_toolbox_api_client_async/models/git_git_delete_branch_request.py → daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/git_delete_branch_request.py +4 -4
- daytona_toolbox_api_client_async-0.167.0/daytona_toolbox_api_client_async/models/session_command_logs_response.py +106 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async.egg-info/PKG-INFO +1 -1
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async.egg-info/SOURCES.txt +14 -2
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/pyproject.toml +1 -1
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/setup.py +1 -1
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/LICENSE +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/README.md +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/__init__.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/computer_use_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/file_system_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/info_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/interpreter_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/lsp_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/port_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api/server_api.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api_client.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/api_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/configuration.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/exceptions.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/command.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/completion_context.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/completion_item.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/completion_list.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/computer_use_start_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/computer_use_status_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/computer_use_stop_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/create_context_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/create_session_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/display_info.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/display_info_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/execute_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/file_info.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/file_status.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/files_download_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_add_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_branch_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_checkout_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_clone_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_commit_info.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_commit_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_commit_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_repo_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/git_status.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/initialize_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/interpreter_context.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/is_port_in_use_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/keyboard_hotkey_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/keyboard_press_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/keyboard_type_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/list_branch_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/list_contexts_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/list_recordings_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_completion_params.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_document_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_location.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_position.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_range.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_server_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/lsp_symbol.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/match.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_click_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_click_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_drag_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_drag_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_move_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_position_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/mouse_scroll_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/port_list.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/position.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/process_errors_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/process_logs_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/process_restart_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/process_status.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/process_status_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/pty_create_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/pty_create_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/pty_list_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/pty_resize_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/pty_session_info.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/recording.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/replace_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/replace_result.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/screenshot_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/scroll_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/search_files_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/session.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/session_execute_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/session_execute_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/session_send_input_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/start_recording_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/status.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/stop_recording_request.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/user_home_dir_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/window_info.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/windows_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/models/work_dir_response.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/py.typed +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async/rest.py +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async.egg-info/dependency_links.txt +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async.egg-info/requires.txt +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/daytona_toolbox_api_client_async.egg-info/top_level.txt +0 -0
- {daytona_toolbox_api_client_async-0.166.0 → daytona_toolbox_api_client_async-0.167.0}/setup.cfg +0 -0
|
@@ -16,7 +16,7 @@ from __future__ import annotations
|
|
|
16
16
|
""" # noqa: E501
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
__version__ = "0.
|
|
19
|
+
__version__ = "0.167.0"
|
|
20
20
|
|
|
21
21
|
import importlib
|
|
22
22
|
from typing import TYPE_CHECKING
|
|
@@ -44,6 +44,11 @@ if TYPE_CHECKING:
|
|
|
44
44
|
from daytona_toolbox_api_client_async.exceptions import ApiException
|
|
45
45
|
|
|
46
46
|
# import models into sdk package
|
|
47
|
+
from daytona_toolbox_api_client_async.models.chart import Chart
|
|
48
|
+
from daytona_toolbox_api_client_async.models.chart_element import ChartElement
|
|
49
|
+
from daytona_toolbox_api_client_async.models.code_run_artifacts import CodeRunArtifacts
|
|
50
|
+
from daytona_toolbox_api_client_async.models.code_run_request import CodeRunRequest
|
|
51
|
+
from daytona_toolbox_api_client_async.models.code_run_response import CodeRunResponse
|
|
47
52
|
from daytona_toolbox_api_client_async.models.command import Command
|
|
48
53
|
from daytona_toolbox_api_client_async.models.completion_context import CompletionContext
|
|
49
54
|
from daytona_toolbox_api_client_async.models.completion_item import CompletionItem
|
|
@@ -67,7 +72,7 @@ if TYPE_CHECKING:
|
|
|
67
72
|
from daytona_toolbox_api_client_async.models.git_commit_info import GitCommitInfo
|
|
68
73
|
from daytona_toolbox_api_client_async.models.git_commit_request import GitCommitRequest
|
|
69
74
|
from daytona_toolbox_api_client_async.models.git_commit_response import GitCommitResponse
|
|
70
|
-
from daytona_toolbox_api_client_async.models.
|
|
75
|
+
from daytona_toolbox_api_client_async.models.git_delete_branch_request import GitDeleteBranchRequest
|
|
71
76
|
from daytona_toolbox_api_client_async.models.git_repo_request import GitRepoRequest
|
|
72
77
|
from daytona_toolbox_api_client_async.models.git_status import GitStatus
|
|
73
78
|
from daytona_toolbox_api_client_async.models.initialize_request import InitializeRequest
|
|
@@ -113,6 +118,7 @@ if TYPE_CHECKING:
|
|
|
113
118
|
from daytona_toolbox_api_client_async.models.scroll_response import ScrollResponse
|
|
114
119
|
from daytona_toolbox_api_client_async.models.search_files_response import SearchFilesResponse
|
|
115
120
|
from daytona_toolbox_api_client_async.models.session import Session
|
|
121
|
+
from daytona_toolbox_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
|
|
116
122
|
from daytona_toolbox_api_client_async.models.session_execute_request import SessionExecuteRequest
|
|
117
123
|
from daytona_toolbox_api_client_async.models.session_execute_response import SessionExecuteResponse
|
|
118
124
|
from daytona_toolbox_api_client_async.models.session_send_input_request import SessionSendInputRequest
|
|
@@ -146,6 +152,11 @@ _DYNAMIC_IMPORTS: dict[str, str] = {
|
|
|
146
152
|
"ApiAttributeError": "daytona_toolbox_api_client_async.exceptions",
|
|
147
153
|
"ApiException": "daytona_toolbox_api_client_async.exceptions",
|
|
148
154
|
# models
|
|
155
|
+
"Chart": "daytona_toolbox_api_client_async.models.chart",
|
|
156
|
+
"ChartElement": "daytona_toolbox_api_client_async.models.chart_element",
|
|
157
|
+
"CodeRunArtifacts": "daytona_toolbox_api_client_async.models.code_run_artifacts",
|
|
158
|
+
"CodeRunRequest": "daytona_toolbox_api_client_async.models.code_run_request",
|
|
159
|
+
"CodeRunResponse": "daytona_toolbox_api_client_async.models.code_run_response",
|
|
149
160
|
"Command": "daytona_toolbox_api_client_async.models.command",
|
|
150
161
|
"CompletionContext": "daytona_toolbox_api_client_async.models.completion_context",
|
|
151
162
|
"CompletionItem": "daytona_toolbox_api_client_async.models.completion_item",
|
|
@@ -169,7 +180,7 @@ _DYNAMIC_IMPORTS: dict[str, str] = {
|
|
|
169
180
|
"GitCommitInfo": "daytona_toolbox_api_client_async.models.git_commit_info",
|
|
170
181
|
"GitCommitRequest": "daytona_toolbox_api_client_async.models.git_commit_request",
|
|
171
182
|
"GitCommitResponse": "daytona_toolbox_api_client_async.models.git_commit_response",
|
|
172
|
-
"
|
|
183
|
+
"GitDeleteBranchRequest": "daytona_toolbox_api_client_async.models.git_delete_branch_request",
|
|
173
184
|
"GitRepoRequest": "daytona_toolbox_api_client_async.models.git_repo_request",
|
|
174
185
|
"GitStatus": "daytona_toolbox_api_client_async.models.git_status",
|
|
175
186
|
"InitializeRequest": "daytona_toolbox_api_client_async.models.initialize_request",
|
|
@@ -215,6 +226,7 @@ _DYNAMIC_IMPORTS: dict[str, str] = {
|
|
|
215
226
|
"ScrollResponse": "daytona_toolbox_api_client_async.models.scroll_response",
|
|
216
227
|
"SearchFilesResponse": "daytona_toolbox_api_client_async.models.search_files_response",
|
|
217
228
|
"Session": "daytona_toolbox_api_client_async.models.session",
|
|
229
|
+
"SessionCommandLogsResponse": "daytona_toolbox_api_client_async.models.session_command_logs_response",
|
|
218
230
|
"SessionExecuteRequest": "daytona_toolbox_api_client_async.models.session_execute_request",
|
|
219
231
|
"SessionExecuteResponse": "daytona_toolbox_api_client_async.models.session_execute_response",
|
|
220
232
|
"SessionSendInputRequest": "daytona_toolbox_api_client_async.models.session_send_input_request",
|
|
@@ -262,6 +274,11 @@ __all__ = [
|
|
|
262
274
|
"PortApi",
|
|
263
275
|
"ProcessApi",
|
|
264
276
|
"ServerApi",
|
|
277
|
+
"Chart",
|
|
278
|
+
"ChartElement",
|
|
279
|
+
"CodeRunArtifacts",
|
|
280
|
+
"CodeRunRequest",
|
|
281
|
+
"CodeRunResponse",
|
|
265
282
|
"Command",
|
|
266
283
|
"CompletionContext",
|
|
267
284
|
"CompletionItem",
|
|
@@ -285,7 +302,7 @@ __all__ = [
|
|
|
285
302
|
"GitCommitInfo",
|
|
286
303
|
"GitCommitRequest",
|
|
287
304
|
"GitCommitResponse",
|
|
288
|
-
"
|
|
305
|
+
"GitDeleteBranchRequest",
|
|
289
306
|
"GitRepoRequest",
|
|
290
307
|
"GitStatus",
|
|
291
308
|
"InitializeRequest",
|
|
@@ -331,6 +348,7 @@ __all__ = [
|
|
|
331
348
|
"ScrollResponse",
|
|
332
349
|
"SearchFilesResponse",
|
|
333
350
|
"Session",
|
|
351
|
+
"SessionCommandLogsResponse",
|
|
334
352
|
"SessionExecuteRequest",
|
|
335
353
|
"SessionExecuteResponse",
|
|
336
354
|
"SessionSendInputRequest",
|
|
@@ -26,7 +26,7 @@ from daytona_toolbox_api_client_async.models.git_clone_request import GitCloneRe
|
|
|
26
26
|
from daytona_toolbox_api_client_async.models.git_commit_info import GitCommitInfo
|
|
27
27
|
from daytona_toolbox_api_client_async.models.git_commit_request import GitCommitRequest
|
|
28
28
|
from daytona_toolbox_api_client_async.models.git_commit_response import GitCommitResponse
|
|
29
|
-
from daytona_toolbox_api_client_async.models.
|
|
29
|
+
from daytona_toolbox_api_client_async.models.git_delete_branch_request import GitDeleteBranchRequest
|
|
30
30
|
from daytona_toolbox_api_client_async.models.git_repo_request import GitRepoRequest
|
|
31
31
|
from daytona_toolbox_api_client_async.models.git_status import GitStatus
|
|
32
32
|
from daytona_toolbox_api_client_async.models.list_branch_response import ListBranchResponse
|
|
@@ -1389,7 +1389,7 @@ class GitApi:
|
|
|
1389
1389
|
@validate_call
|
|
1390
1390
|
async def delete_branch(
|
|
1391
1391
|
self,
|
|
1392
|
-
request: Annotated[
|
|
1392
|
+
request: Annotated[GitDeleteBranchRequest, Field(description="Delete branch request")],
|
|
1393
1393
|
_request_timeout: Union[
|
|
1394
1394
|
None,
|
|
1395
1395
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1408,7 +1408,7 @@ class GitApi:
|
|
|
1408
1408
|
Delete a branch from the Git repository
|
|
1409
1409
|
|
|
1410
1410
|
:param request: Delete branch request (required)
|
|
1411
|
-
:type request:
|
|
1411
|
+
:type request: GitDeleteBranchRequest
|
|
1412
1412
|
:param _request_timeout: timeout setting for this request. If one
|
|
1413
1413
|
number provided, it will be total request
|
|
1414
1414
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1456,7 +1456,7 @@ class GitApi:
|
|
|
1456
1456
|
@validate_call
|
|
1457
1457
|
async def delete_branch_with_http_info(
|
|
1458
1458
|
self,
|
|
1459
|
-
request: Annotated[
|
|
1459
|
+
request: Annotated[GitDeleteBranchRequest, Field(description="Delete branch request")],
|
|
1460
1460
|
_request_timeout: Union[
|
|
1461
1461
|
None,
|
|
1462
1462
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1475,7 +1475,7 @@ class GitApi:
|
|
|
1475
1475
|
Delete a branch from the Git repository
|
|
1476
1476
|
|
|
1477
1477
|
:param request: Delete branch request (required)
|
|
1478
|
-
:type request:
|
|
1478
|
+
:type request: GitDeleteBranchRequest
|
|
1479
1479
|
:param _request_timeout: timeout setting for this request. If one
|
|
1480
1480
|
number provided, it will be total request
|
|
1481
1481
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1523,7 +1523,7 @@ class GitApi:
|
|
|
1523
1523
|
@validate_call
|
|
1524
1524
|
async def delete_branch_without_preload_content(
|
|
1525
1525
|
self,
|
|
1526
|
-
request: Annotated[
|
|
1526
|
+
request: Annotated[GitDeleteBranchRequest, Field(description="Delete branch request")],
|
|
1527
1527
|
_request_timeout: Union[
|
|
1528
1528
|
None,
|
|
1529
1529
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1542,7 +1542,7 @@ class GitApi:
|
|
|
1542
1542
|
Delete a branch from the Git repository
|
|
1543
1543
|
|
|
1544
1544
|
:param request: Delete branch request (required)
|
|
1545
|
-
:type request:
|
|
1545
|
+
:type request: GitDeleteBranchRequest
|
|
1546
1546
|
:param _request_timeout: timeout setting for this request. If one
|
|
1547
1547
|
number provided, it will be total request
|
|
1548
1548
|
timeout. It can also be a pair (tuple) of
|
|
@@ -19,6 +19,8 @@ from typing_extensions import Annotated
|
|
|
19
19
|
from pydantic import Field, StrictBool, StrictStr
|
|
20
20
|
from typing import Any, Dict, List, Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
+
from daytona_toolbox_api_client_async.models.code_run_request import CodeRunRequest
|
|
23
|
+
from daytona_toolbox_api_client_async.models.code_run_response import CodeRunResponse
|
|
22
24
|
from daytona_toolbox_api_client_async.models.command import Command
|
|
23
25
|
from daytona_toolbox_api_client_async.models.create_session_request import CreateSessionRequest
|
|
24
26
|
from daytona_toolbox_api_client_async.models.execute_request import ExecuteRequest
|
|
@@ -29,6 +31,7 @@ from daytona_toolbox_api_client_async.models.pty_list_response import PtyListRes
|
|
|
29
31
|
from daytona_toolbox_api_client_async.models.pty_resize_request import PtyResizeRequest
|
|
30
32
|
from daytona_toolbox_api_client_async.models.pty_session_info import PtySessionInfo
|
|
31
33
|
from daytona_toolbox_api_client_async.models.session import Session
|
|
34
|
+
from daytona_toolbox_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
|
|
32
35
|
from daytona_toolbox_api_client_async.models.session_execute_request import SessionExecuteRequest
|
|
33
36
|
from daytona_toolbox_api_client_async.models.session_execute_response import SessionExecuteResponse
|
|
34
37
|
from daytona_toolbox_api_client_async.models.session_send_input_request import SessionSendInputRequest
|
|
@@ -51,6 +54,279 @@ class ProcessApi:
|
|
|
51
54
|
self.api_client = api_client
|
|
52
55
|
|
|
53
56
|
|
|
57
|
+
@validate_call
|
|
58
|
+
async def code_run(
|
|
59
|
+
self,
|
|
60
|
+
request: Annotated[CodeRunRequest, Field(description="Code execution request")],
|
|
61
|
+
_request_timeout: Union[
|
|
62
|
+
None,
|
|
63
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
64
|
+
Tuple[
|
|
65
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
66
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
67
|
+
]
|
|
68
|
+
] = None,
|
|
69
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
70
|
+
_content_type: Optional[StrictStr] = None,
|
|
71
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
72
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
73
|
+
) -> CodeRunResponse:
|
|
74
|
+
"""Execute code
|
|
75
|
+
|
|
76
|
+
Execute Python, JavaScript, or TypeScript code and return output, exit code, and artifacts
|
|
77
|
+
|
|
78
|
+
:param request: Code execution request (required)
|
|
79
|
+
:type request: CodeRunRequest
|
|
80
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
81
|
+
number provided, it will be total request
|
|
82
|
+
timeout. It can also be a pair (tuple) of
|
|
83
|
+
(connection, read) timeouts.
|
|
84
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
85
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
86
|
+
request; this effectively ignores the
|
|
87
|
+
authentication in the spec for a single request.
|
|
88
|
+
:type _request_auth: dict, optional
|
|
89
|
+
:param _content_type: force content-type for the request.
|
|
90
|
+
:type _content_type: str, Optional
|
|
91
|
+
:param _headers: set to override the headers for a single
|
|
92
|
+
request; this effectively ignores the headers
|
|
93
|
+
in the spec for a single request.
|
|
94
|
+
:type _headers: dict, optional
|
|
95
|
+
:param _host_index: set to override the host_index for a single
|
|
96
|
+
request; this effectively ignores the host_index
|
|
97
|
+
in the spec for a single request.
|
|
98
|
+
:type _host_index: int, optional
|
|
99
|
+
:return: Returns the result object.
|
|
100
|
+
""" # noqa: E501
|
|
101
|
+
|
|
102
|
+
_param = self._code_run_serialize(
|
|
103
|
+
request=request,
|
|
104
|
+
_request_auth=_request_auth,
|
|
105
|
+
_content_type=_content_type,
|
|
106
|
+
_headers=_headers,
|
|
107
|
+
_host_index=_host_index
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
111
|
+
'200': "CodeRunResponse",
|
|
112
|
+
}
|
|
113
|
+
response_data = await self.api_client.call_api(
|
|
114
|
+
*_param,
|
|
115
|
+
_request_timeout=_request_timeout
|
|
116
|
+
)
|
|
117
|
+
await response_data.read()
|
|
118
|
+
return self.api_client.response_deserialize(
|
|
119
|
+
response_data=response_data,
|
|
120
|
+
response_types_map=_response_types_map,
|
|
121
|
+
).data
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
@validate_call
|
|
125
|
+
async def code_run_with_http_info(
|
|
126
|
+
self,
|
|
127
|
+
request: Annotated[CodeRunRequest, Field(description="Code execution request")],
|
|
128
|
+
_request_timeout: Union[
|
|
129
|
+
None,
|
|
130
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131
|
+
Tuple[
|
|
132
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
133
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
134
|
+
]
|
|
135
|
+
] = None,
|
|
136
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
137
|
+
_content_type: Optional[StrictStr] = None,
|
|
138
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
139
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
140
|
+
) -> ApiResponse[CodeRunResponse]:
|
|
141
|
+
"""Execute code
|
|
142
|
+
|
|
143
|
+
Execute Python, JavaScript, or TypeScript code and return output, exit code, and artifacts
|
|
144
|
+
|
|
145
|
+
:param request: Code execution request (required)
|
|
146
|
+
:type request: CodeRunRequest
|
|
147
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
148
|
+
number provided, it will be total request
|
|
149
|
+
timeout. It can also be a pair (tuple) of
|
|
150
|
+
(connection, read) timeouts.
|
|
151
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
152
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
153
|
+
request; this effectively ignores the
|
|
154
|
+
authentication in the spec for a single request.
|
|
155
|
+
:type _request_auth: dict, optional
|
|
156
|
+
:param _content_type: force content-type for the request.
|
|
157
|
+
:type _content_type: str, Optional
|
|
158
|
+
:param _headers: set to override the headers for a single
|
|
159
|
+
request; this effectively ignores the headers
|
|
160
|
+
in the spec for a single request.
|
|
161
|
+
:type _headers: dict, optional
|
|
162
|
+
:param _host_index: set to override the host_index for a single
|
|
163
|
+
request; this effectively ignores the host_index
|
|
164
|
+
in the spec for a single request.
|
|
165
|
+
:type _host_index: int, optional
|
|
166
|
+
:return: Returns the result object.
|
|
167
|
+
""" # noqa: E501
|
|
168
|
+
|
|
169
|
+
_param = self._code_run_serialize(
|
|
170
|
+
request=request,
|
|
171
|
+
_request_auth=_request_auth,
|
|
172
|
+
_content_type=_content_type,
|
|
173
|
+
_headers=_headers,
|
|
174
|
+
_host_index=_host_index
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
178
|
+
'200': "CodeRunResponse",
|
|
179
|
+
}
|
|
180
|
+
response_data = await self.api_client.call_api(
|
|
181
|
+
*_param,
|
|
182
|
+
_request_timeout=_request_timeout
|
|
183
|
+
)
|
|
184
|
+
await response_data.read()
|
|
185
|
+
return self.api_client.response_deserialize(
|
|
186
|
+
response_data=response_data,
|
|
187
|
+
response_types_map=_response_types_map,
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
@validate_call
|
|
192
|
+
async def code_run_without_preload_content(
|
|
193
|
+
self,
|
|
194
|
+
request: Annotated[CodeRunRequest, Field(description="Code execution request")],
|
|
195
|
+
_request_timeout: Union[
|
|
196
|
+
None,
|
|
197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
198
|
+
Tuple[
|
|
199
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
200
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
201
|
+
]
|
|
202
|
+
] = None,
|
|
203
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
204
|
+
_content_type: Optional[StrictStr] = None,
|
|
205
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
206
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
207
|
+
) -> RESTResponseType:
|
|
208
|
+
"""Execute code
|
|
209
|
+
|
|
210
|
+
Execute Python, JavaScript, or TypeScript code and return output, exit code, and artifacts
|
|
211
|
+
|
|
212
|
+
:param request: Code execution request (required)
|
|
213
|
+
:type request: CodeRunRequest
|
|
214
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
215
|
+
number provided, it will be total request
|
|
216
|
+
timeout. It can also be a pair (tuple) of
|
|
217
|
+
(connection, read) timeouts.
|
|
218
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
219
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
220
|
+
request; this effectively ignores the
|
|
221
|
+
authentication in the spec for a single request.
|
|
222
|
+
:type _request_auth: dict, optional
|
|
223
|
+
:param _content_type: force content-type for the request.
|
|
224
|
+
:type _content_type: str, Optional
|
|
225
|
+
:param _headers: set to override the headers for a single
|
|
226
|
+
request; this effectively ignores the headers
|
|
227
|
+
in the spec for a single request.
|
|
228
|
+
:type _headers: dict, optional
|
|
229
|
+
:param _host_index: set to override the host_index for a single
|
|
230
|
+
request; this effectively ignores the host_index
|
|
231
|
+
in the spec for a single request.
|
|
232
|
+
:type _host_index: int, optional
|
|
233
|
+
:return: Returns the result object.
|
|
234
|
+
""" # noqa: E501
|
|
235
|
+
|
|
236
|
+
_param = self._code_run_serialize(
|
|
237
|
+
request=request,
|
|
238
|
+
_request_auth=_request_auth,
|
|
239
|
+
_content_type=_content_type,
|
|
240
|
+
_headers=_headers,
|
|
241
|
+
_host_index=_host_index
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
245
|
+
'200': "CodeRunResponse",
|
|
246
|
+
}
|
|
247
|
+
response_data = await self.api_client.call_api(
|
|
248
|
+
*_param,
|
|
249
|
+
_request_timeout=_request_timeout
|
|
250
|
+
)
|
|
251
|
+
return response_data.response
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
def _code_run_serialize(
|
|
255
|
+
self,
|
|
256
|
+
request,
|
|
257
|
+
_request_auth,
|
|
258
|
+
_content_type,
|
|
259
|
+
_headers,
|
|
260
|
+
_host_index,
|
|
261
|
+
) -> RequestSerialized:
|
|
262
|
+
|
|
263
|
+
_host = None
|
|
264
|
+
|
|
265
|
+
_collection_formats: Dict[str, str] = {
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
_path_params: Dict[str, str] = {}
|
|
269
|
+
_query_params: List[Tuple[str, str]] = []
|
|
270
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
271
|
+
_form_params: List[Tuple[str, str]] = []
|
|
272
|
+
_files: Dict[
|
|
273
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
274
|
+
] = {}
|
|
275
|
+
_body_params: Optional[bytes] = None
|
|
276
|
+
|
|
277
|
+
# process the path parameters
|
|
278
|
+
# process the query parameters
|
|
279
|
+
# process the header parameters
|
|
280
|
+
# process the form parameters
|
|
281
|
+
# process the body parameter
|
|
282
|
+
if request is not None:
|
|
283
|
+
_body_params = request
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
# set the HTTP header `Accept`
|
|
287
|
+
if 'Accept' not in _header_params:
|
|
288
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
289
|
+
[
|
|
290
|
+
'application/json'
|
|
291
|
+
]
|
|
292
|
+
)
|
|
293
|
+
|
|
294
|
+
# set the HTTP header `Content-Type`
|
|
295
|
+
if _content_type:
|
|
296
|
+
_header_params['Content-Type'] = _content_type
|
|
297
|
+
else:
|
|
298
|
+
_default_content_type = (
|
|
299
|
+
self.api_client.select_header_content_type(
|
|
300
|
+
[
|
|
301
|
+
'application/json'
|
|
302
|
+
]
|
|
303
|
+
)
|
|
304
|
+
)
|
|
305
|
+
if _default_content_type is not None:
|
|
306
|
+
_header_params['Content-Type'] = _default_content_type
|
|
307
|
+
|
|
308
|
+
# authentication setting
|
|
309
|
+
_auth_settings: List[str] = [
|
|
310
|
+
]
|
|
311
|
+
|
|
312
|
+
return self.api_client.param_serialize(
|
|
313
|
+
method='POST',
|
|
314
|
+
resource_path='/process/code-run',
|
|
315
|
+
path_params=_path_params,
|
|
316
|
+
query_params=_query_params,
|
|
317
|
+
header_params=_header_params,
|
|
318
|
+
body=_body_params,
|
|
319
|
+
post_params=_form_params,
|
|
320
|
+
files=_files,
|
|
321
|
+
auth_settings=_auth_settings,
|
|
322
|
+
collection_formats=_collection_formats,
|
|
323
|
+
_host=_host,
|
|
324
|
+
_request_auth=_request_auth
|
|
325
|
+
)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
54
330
|
@validate_call
|
|
55
331
|
async def connect_pty_session(
|
|
56
332
|
self,
|
|
@@ -1645,10 +1921,10 @@ class ProcessApi:
|
|
|
1645
1921
|
_content_type: Optional[StrictStr] = None,
|
|
1646
1922
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1647
1923
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1648
|
-
) ->
|
|
1924
|
+
) -> SessionCommandLogsResponse:
|
|
1649
1925
|
"""Get entrypoint logs
|
|
1650
1926
|
|
|
1651
|
-
Get logs for a sandbox entrypoint session.
|
|
1927
|
+
Get logs for a sandbox entrypoint session. Returns JSON with separated stdout/stderr for SDK >= 0.161.0, plain text otherwise. Supports WebSocket streaming.
|
|
1652
1928
|
|
|
1653
1929
|
:param follow: Follow logs in real-time (WebSocket only)
|
|
1654
1930
|
:type follow: bool
|
|
@@ -1683,7 +1959,7 @@ class ProcessApi:
|
|
|
1683
1959
|
)
|
|
1684
1960
|
|
|
1685
1961
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1686
|
-
'200': "
|
|
1962
|
+
'200': "SessionCommandLogsResponse",
|
|
1687
1963
|
}
|
|
1688
1964
|
response_data = await self.api_client.call_api(
|
|
1689
1965
|
*_param,
|
|
@@ -1712,10 +1988,10 @@ class ProcessApi:
|
|
|
1712
1988
|
_content_type: Optional[StrictStr] = None,
|
|
1713
1989
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1714
1990
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1715
|
-
) -> ApiResponse[
|
|
1991
|
+
) -> ApiResponse[SessionCommandLogsResponse]:
|
|
1716
1992
|
"""Get entrypoint logs
|
|
1717
1993
|
|
|
1718
|
-
Get logs for a sandbox entrypoint session.
|
|
1994
|
+
Get logs for a sandbox entrypoint session. Returns JSON with separated stdout/stderr for SDK >= 0.161.0, plain text otherwise. Supports WebSocket streaming.
|
|
1719
1995
|
|
|
1720
1996
|
:param follow: Follow logs in real-time (WebSocket only)
|
|
1721
1997
|
:type follow: bool
|
|
@@ -1750,7 +2026,7 @@ class ProcessApi:
|
|
|
1750
2026
|
)
|
|
1751
2027
|
|
|
1752
2028
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1753
|
-
'200': "
|
|
2029
|
+
'200': "SessionCommandLogsResponse",
|
|
1754
2030
|
}
|
|
1755
2031
|
response_data = await self.api_client.call_api(
|
|
1756
2032
|
*_param,
|
|
@@ -1782,7 +2058,7 @@ class ProcessApi:
|
|
|
1782
2058
|
) -> RESTResponseType:
|
|
1783
2059
|
"""Get entrypoint logs
|
|
1784
2060
|
|
|
1785
|
-
Get logs for a sandbox entrypoint session.
|
|
2061
|
+
Get logs for a sandbox entrypoint session. Returns JSON with separated stdout/stderr for SDK >= 0.161.0, plain text otherwise. Supports WebSocket streaming.
|
|
1786
2062
|
|
|
1787
2063
|
:param follow: Follow logs in real-time (WebSocket only)
|
|
1788
2064
|
:type follow: bool
|
|
@@ -1817,7 +2093,7 @@ class ProcessApi:
|
|
|
1817
2093
|
)
|
|
1818
2094
|
|
|
1819
2095
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1820
|
-
'200': "
|
|
2096
|
+
'200': "SessionCommandLogsResponse",
|
|
1821
2097
|
}
|
|
1822
2098
|
response_data = await self.api_client.call_api(
|
|
1823
2099
|
*_param,
|
|
@@ -1864,6 +2140,7 @@ class ProcessApi:
|
|
|
1864
2140
|
if 'Accept' not in _header_params:
|
|
1865
2141
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1866
2142
|
[
|
|
2143
|
+
'application/json',
|
|
1867
2144
|
'text/plain'
|
|
1868
2145
|
]
|
|
1869
2146
|
)
|
|
@@ -2949,10 +3226,10 @@ class ProcessApi:
|
|
|
2949
3226
|
_content_type: Optional[StrictStr] = None,
|
|
2950
3227
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2951
3228
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2952
|
-
) ->
|
|
3229
|
+
) -> SessionCommandLogsResponse:
|
|
2953
3230
|
"""Get session command logs
|
|
2954
3231
|
|
|
2955
|
-
Get logs for a specific command within a session.
|
|
3232
|
+
Get logs for a specific command within a session. Returns JSON with separated stdout/stderr for SDK >= 0.167.0, plain text otherwise. Supports WebSocket streaming.
|
|
2956
3233
|
|
|
2957
3234
|
:param session_id: Session ID (required)
|
|
2958
3235
|
:type session_id: str
|
|
@@ -2993,7 +3270,7 @@ class ProcessApi:
|
|
|
2993
3270
|
)
|
|
2994
3271
|
|
|
2995
3272
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2996
|
-
'200': "
|
|
3273
|
+
'200': "SessionCommandLogsResponse",
|
|
2997
3274
|
}
|
|
2998
3275
|
response_data = await self.api_client.call_api(
|
|
2999
3276
|
*_param,
|
|
@@ -3024,10 +3301,10 @@ class ProcessApi:
|
|
|
3024
3301
|
_content_type: Optional[StrictStr] = None,
|
|
3025
3302
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3026
3303
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3027
|
-
) -> ApiResponse[
|
|
3304
|
+
) -> ApiResponse[SessionCommandLogsResponse]:
|
|
3028
3305
|
"""Get session command logs
|
|
3029
3306
|
|
|
3030
|
-
Get logs for a specific command within a session.
|
|
3307
|
+
Get logs for a specific command within a session. Returns JSON with separated stdout/stderr for SDK >= 0.167.0, plain text otherwise. Supports WebSocket streaming.
|
|
3031
3308
|
|
|
3032
3309
|
:param session_id: Session ID (required)
|
|
3033
3310
|
:type session_id: str
|
|
@@ -3068,7 +3345,7 @@ class ProcessApi:
|
|
|
3068
3345
|
)
|
|
3069
3346
|
|
|
3070
3347
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3071
|
-
'200': "
|
|
3348
|
+
'200': "SessionCommandLogsResponse",
|
|
3072
3349
|
}
|
|
3073
3350
|
response_data = await self.api_client.call_api(
|
|
3074
3351
|
*_param,
|
|
@@ -3102,7 +3379,7 @@ class ProcessApi:
|
|
|
3102
3379
|
) -> RESTResponseType:
|
|
3103
3380
|
"""Get session command logs
|
|
3104
3381
|
|
|
3105
|
-
Get logs for a specific command within a session.
|
|
3382
|
+
Get logs for a specific command within a session. Returns JSON with separated stdout/stderr for SDK >= 0.167.0, plain text otherwise. Supports WebSocket streaming.
|
|
3106
3383
|
|
|
3107
3384
|
:param session_id: Session ID (required)
|
|
3108
3385
|
:type session_id: str
|
|
@@ -3143,7 +3420,7 @@ class ProcessApi:
|
|
|
3143
3420
|
)
|
|
3144
3421
|
|
|
3145
3422
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3146
|
-
'200': "
|
|
3423
|
+
'200': "SessionCommandLogsResponse",
|
|
3147
3424
|
}
|
|
3148
3425
|
response_data = await self.api_client.call_api(
|
|
3149
3426
|
*_param,
|
|
@@ -3196,6 +3473,7 @@ class ProcessApi:
|
|
|
3196
3473
|
if 'Accept' not in _header_params:
|
|
3197
3474
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3198
3475
|
[
|
|
3476
|
+
'application/json',
|
|
3199
3477
|
'text/plain'
|
|
3200
3478
|
]
|
|
3201
3479
|
)
|
|
@@ -20,6 +20,11 @@ from typing import TYPE_CHECKING
|
|
|
20
20
|
|
|
21
21
|
if TYPE_CHECKING:
|
|
22
22
|
# import models into model package
|
|
23
|
+
from daytona_toolbox_api_client_async.models.chart import Chart
|
|
24
|
+
from daytona_toolbox_api_client_async.models.chart_element import ChartElement
|
|
25
|
+
from daytona_toolbox_api_client_async.models.code_run_artifacts import CodeRunArtifacts
|
|
26
|
+
from daytona_toolbox_api_client_async.models.code_run_request import CodeRunRequest
|
|
27
|
+
from daytona_toolbox_api_client_async.models.code_run_response import CodeRunResponse
|
|
23
28
|
from daytona_toolbox_api_client_async.models.command import Command
|
|
24
29
|
from daytona_toolbox_api_client_async.models.completion_context import CompletionContext
|
|
25
30
|
from daytona_toolbox_api_client_async.models.completion_item import CompletionItem
|
|
@@ -43,7 +48,7 @@ if TYPE_CHECKING:
|
|
|
43
48
|
from daytona_toolbox_api_client_async.models.git_commit_info import GitCommitInfo
|
|
44
49
|
from daytona_toolbox_api_client_async.models.git_commit_request import GitCommitRequest
|
|
45
50
|
from daytona_toolbox_api_client_async.models.git_commit_response import GitCommitResponse
|
|
46
|
-
from daytona_toolbox_api_client_async.models.
|
|
51
|
+
from daytona_toolbox_api_client_async.models.git_delete_branch_request import GitDeleteBranchRequest
|
|
47
52
|
from daytona_toolbox_api_client_async.models.git_repo_request import GitRepoRequest
|
|
48
53
|
from daytona_toolbox_api_client_async.models.git_status import GitStatus
|
|
49
54
|
from daytona_toolbox_api_client_async.models.initialize_request import InitializeRequest
|
|
@@ -89,6 +94,7 @@ if TYPE_CHECKING:
|
|
|
89
94
|
from daytona_toolbox_api_client_async.models.scroll_response import ScrollResponse
|
|
90
95
|
from daytona_toolbox_api_client_async.models.search_files_response import SearchFilesResponse
|
|
91
96
|
from daytona_toolbox_api_client_async.models.session import Session
|
|
97
|
+
from daytona_toolbox_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
|
|
92
98
|
from daytona_toolbox_api_client_async.models.session_execute_request import SessionExecuteRequest
|
|
93
99
|
from daytona_toolbox_api_client_async.models.session_execute_response import SessionExecuteResponse
|
|
94
100
|
from daytona_toolbox_api_client_async.models.session_send_input_request import SessionSendInputRequest
|
|
@@ -101,6 +107,11 @@ if TYPE_CHECKING:
|
|
|
101
107
|
from daytona_toolbox_api_client_async.models.work_dir_response import WorkDirResponse
|
|
102
108
|
|
|
103
109
|
_DYNAMIC_IMPORTS: dict[str, str] = {
|
|
110
|
+
"Chart": "daytona_toolbox_api_client_async.models.chart",
|
|
111
|
+
"ChartElement": "daytona_toolbox_api_client_async.models.chart_element",
|
|
112
|
+
"CodeRunArtifacts": "daytona_toolbox_api_client_async.models.code_run_artifacts",
|
|
113
|
+
"CodeRunRequest": "daytona_toolbox_api_client_async.models.code_run_request",
|
|
114
|
+
"CodeRunResponse": "daytona_toolbox_api_client_async.models.code_run_response",
|
|
104
115
|
"Command": "daytona_toolbox_api_client_async.models.command",
|
|
105
116
|
"CompletionContext": "daytona_toolbox_api_client_async.models.completion_context",
|
|
106
117
|
"CompletionItem": "daytona_toolbox_api_client_async.models.completion_item",
|
|
@@ -124,7 +135,7 @@ _DYNAMIC_IMPORTS: dict[str, str] = {
|
|
|
124
135
|
"GitCommitInfo": "daytona_toolbox_api_client_async.models.git_commit_info",
|
|
125
136
|
"GitCommitRequest": "daytona_toolbox_api_client_async.models.git_commit_request",
|
|
126
137
|
"GitCommitResponse": "daytona_toolbox_api_client_async.models.git_commit_response",
|
|
127
|
-
"
|
|
138
|
+
"GitDeleteBranchRequest": "daytona_toolbox_api_client_async.models.git_delete_branch_request",
|
|
128
139
|
"GitRepoRequest": "daytona_toolbox_api_client_async.models.git_repo_request",
|
|
129
140
|
"GitStatus": "daytona_toolbox_api_client_async.models.git_status",
|
|
130
141
|
"InitializeRequest": "daytona_toolbox_api_client_async.models.initialize_request",
|
|
@@ -170,6 +181,7 @@ _DYNAMIC_IMPORTS: dict[str, str] = {
|
|
|
170
181
|
"ScrollResponse": "daytona_toolbox_api_client_async.models.scroll_response",
|
|
171
182
|
"SearchFilesResponse": "daytona_toolbox_api_client_async.models.search_files_response",
|
|
172
183
|
"Session": "daytona_toolbox_api_client_async.models.session",
|
|
184
|
+
"SessionCommandLogsResponse": "daytona_toolbox_api_client_async.models.session_command_logs_response",
|
|
173
185
|
"SessionExecuteRequest": "daytona_toolbox_api_client_async.models.session_execute_request",
|
|
174
186
|
"SessionExecuteResponse": "daytona_toolbox_api_client_async.models.session_execute_response",
|
|
175
187
|
"SessionSendInputRequest": "daytona_toolbox_api_client_async.models.session_send_input_request",
|