daytona_api_client 0.25.5__py3-none-any.whl → 0.26.0a12__py3-none-any.whl
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.
Potentially problematic release.
This version of daytona_api_client might be problematic. Click here for more details.
- daytona_api_client/__init__.py +1 -0
- daytona_api_client/api/toolbox_api.py +13 -12
- daytona_api_client/models/__init__.py +1 -0
- daytona_api_client/models/session_execute_response.py +5 -3
- {daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/METADATA +1 -1
- {daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/RECORD +9 -9
- {daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/WHEEL +0 -0
- {daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/licenses/LICENSE +0 -0
- {daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/top_level.txt +0 -0
daytona_api_client/__init__.py
CHANGED
|
@@ -140,6 +140,7 @@ from daytona_api_client.models.sandbox_volume import SandboxVolume
|
|
|
140
140
|
from daytona_api_client.models.screenshot_response import ScreenshotResponse
|
|
141
141
|
from daytona_api_client.models.search_files_response import SearchFilesResponse
|
|
142
142
|
from daytona_api_client.models.session import Session
|
|
143
|
+
from daytona_api_client.models.session_command_logs_response import SessionCommandLogsResponse
|
|
143
144
|
from daytona_api_client.models.session_execute_request import SessionExecuteRequest
|
|
144
145
|
from daytona_api_client.models.session_execute_response import SessionExecuteResponse
|
|
145
146
|
from daytona_api_client.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
|
|
@@ -70,6 +70,7 @@ from daytona_api_client.models.replace_result import ReplaceResult
|
|
|
70
70
|
from daytona_api_client.models.screenshot_response import ScreenshotResponse
|
|
71
71
|
from daytona_api_client.models.search_files_response import SearchFilesResponse
|
|
72
72
|
from daytona_api_client.models.session import Session
|
|
73
|
+
from daytona_api_client.models.session_command_logs_response import SessionCommandLogsResponse
|
|
73
74
|
from daytona_api_client.models.session_execute_request import SessionExecuteRequest
|
|
74
75
|
from daytona_api_client.models.session_execute_response import SessionExecuteResponse
|
|
75
76
|
from daytona_api_client.models.windows_response import WindowsResponse
|
|
@@ -5990,7 +5991,7 @@ class ToolboxApi:
|
|
|
5990
5991
|
session_id: StrictStr,
|
|
5991
5992
|
command_id: StrictStr,
|
|
5992
5993
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
5993
|
-
follow: Optional[StrictBool] = None,
|
|
5994
|
+
follow: Annotated[Optional[StrictBool], Field(description="Whether to stream the logs")] = None,
|
|
5994
5995
|
_request_timeout: Union[
|
|
5995
5996
|
None,
|
|
5996
5997
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -6003,7 +6004,7 @@ class ToolboxApi:
|
|
|
6003
6004
|
_content_type: Optional[StrictStr] = None,
|
|
6004
6005
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6005
6006
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6006
|
-
) ->
|
|
6007
|
+
) -> SessionCommandLogsResponse:
|
|
6007
6008
|
"""Get command logs
|
|
6008
6009
|
|
|
6009
6010
|
Get logs for a specific command in a session
|
|
@@ -6016,7 +6017,7 @@ class ToolboxApi:
|
|
|
6016
6017
|
:type command_id: str
|
|
6017
6018
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
6018
6019
|
:type x_daytona_organization_id: str
|
|
6019
|
-
:param follow:
|
|
6020
|
+
:param follow: Whether to stream the logs
|
|
6020
6021
|
:type follow: bool
|
|
6021
6022
|
:param _request_timeout: timeout setting for this request. If one
|
|
6022
6023
|
number provided, it will be total request
|
|
@@ -6053,7 +6054,7 @@ class ToolboxApi:
|
|
|
6053
6054
|
)
|
|
6054
6055
|
|
|
6055
6056
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6056
|
-
'200': "
|
|
6057
|
+
'200': "SessionCommandLogsResponse",
|
|
6057
6058
|
}
|
|
6058
6059
|
response_data = self.api_client.call_api(
|
|
6059
6060
|
*_param,
|
|
@@ -6073,7 +6074,7 @@ class ToolboxApi:
|
|
|
6073
6074
|
session_id: StrictStr,
|
|
6074
6075
|
command_id: StrictStr,
|
|
6075
6076
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
6076
|
-
follow: Optional[StrictBool] = None,
|
|
6077
|
+
follow: Annotated[Optional[StrictBool], Field(description="Whether to stream the logs")] = None,
|
|
6077
6078
|
_request_timeout: Union[
|
|
6078
6079
|
None,
|
|
6079
6080
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -6086,7 +6087,7 @@ class ToolboxApi:
|
|
|
6086
6087
|
_content_type: Optional[StrictStr] = None,
|
|
6087
6088
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6088
6089
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6089
|
-
) -> ApiResponse[
|
|
6090
|
+
) -> ApiResponse[SessionCommandLogsResponse]:
|
|
6090
6091
|
"""Get command logs
|
|
6091
6092
|
|
|
6092
6093
|
Get logs for a specific command in a session
|
|
@@ -6099,7 +6100,7 @@ class ToolboxApi:
|
|
|
6099
6100
|
:type command_id: str
|
|
6100
6101
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
6101
6102
|
:type x_daytona_organization_id: str
|
|
6102
|
-
:param follow:
|
|
6103
|
+
:param follow: Whether to stream the logs
|
|
6103
6104
|
:type follow: bool
|
|
6104
6105
|
:param _request_timeout: timeout setting for this request. If one
|
|
6105
6106
|
number provided, it will be total request
|
|
@@ -6136,7 +6137,7 @@ class ToolboxApi:
|
|
|
6136
6137
|
)
|
|
6137
6138
|
|
|
6138
6139
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6139
|
-
'200': "
|
|
6140
|
+
'200': "SessionCommandLogsResponse",
|
|
6140
6141
|
}
|
|
6141
6142
|
response_data = self.api_client.call_api(
|
|
6142
6143
|
*_param,
|
|
@@ -6156,7 +6157,7 @@ class ToolboxApi:
|
|
|
6156
6157
|
session_id: StrictStr,
|
|
6157
6158
|
command_id: StrictStr,
|
|
6158
6159
|
x_daytona_organization_id: Annotated[Optional[StrictStr], Field(description="Use with JWT to specify the organization ID")] = None,
|
|
6159
|
-
follow: Optional[StrictBool] = None,
|
|
6160
|
+
follow: Annotated[Optional[StrictBool], Field(description="Whether to stream the logs")] = None,
|
|
6160
6161
|
_request_timeout: Union[
|
|
6161
6162
|
None,
|
|
6162
6163
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -6182,7 +6183,7 @@ class ToolboxApi:
|
|
|
6182
6183
|
:type command_id: str
|
|
6183
6184
|
:param x_daytona_organization_id: Use with JWT to specify the organization ID
|
|
6184
6185
|
:type x_daytona_organization_id: str
|
|
6185
|
-
:param follow:
|
|
6186
|
+
:param follow: Whether to stream the logs
|
|
6186
6187
|
:type follow: bool
|
|
6187
6188
|
:param _request_timeout: timeout setting for this request. If one
|
|
6188
6189
|
number provided, it will be total request
|
|
@@ -6219,7 +6220,7 @@ class ToolboxApi:
|
|
|
6219
6220
|
)
|
|
6220
6221
|
|
|
6221
6222
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6222
|
-
'200': "
|
|
6223
|
+
'200': "SessionCommandLogsResponse",
|
|
6223
6224
|
}
|
|
6224
6225
|
response_data = self.api_client.call_api(
|
|
6225
6226
|
*_param,
|
|
@@ -6278,7 +6279,7 @@ class ToolboxApi:
|
|
|
6278
6279
|
if 'Accept' not in _header_params:
|
|
6279
6280
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
6280
6281
|
[
|
|
6281
|
-
'
|
|
6282
|
+
'application/json'
|
|
6282
6283
|
]
|
|
6283
6284
|
)
|
|
6284
6285
|
|
|
@@ -111,6 +111,7 @@ from daytona_api_client.models.sandbox_volume import SandboxVolume
|
|
|
111
111
|
from daytona_api_client.models.screenshot_response import ScreenshotResponse
|
|
112
112
|
from daytona_api_client.models.search_files_response import SearchFilesResponse
|
|
113
113
|
from daytona_api_client.models.session import Session
|
|
114
|
+
from daytona_api_client.models.session_command_logs_response import SessionCommandLogsResponse
|
|
114
115
|
from daytona_api_client.models.session_execute_request import SessionExecuteRequest
|
|
115
116
|
from daytona_api_client.models.session_execute_response import SessionExecuteResponse
|
|
116
117
|
from daytona_api_client.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
|
|
@@ -28,10 +28,11 @@ class SessionExecuteResponse(BaseModel):
|
|
|
28
28
|
SessionExecuteResponse
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
cmd_id: Optional[StrictStr] = Field(default=None, description="The ID of the executed command", alias="cmdId")
|
|
31
|
-
|
|
31
|
+
stdout: Optional[StrictStr] = Field(default=None, description="The stdout of the executed command")
|
|
32
|
+
stderr: Optional[StrictStr] = Field(default=None, description="The stderr of the executed command")
|
|
32
33
|
exit_code: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The exit code of the executed command", alias="exitCode")
|
|
33
34
|
additional_properties: Dict[str, Any] = {}
|
|
34
|
-
__properties: ClassVar[List[str]] = ["cmdId", "
|
|
35
|
+
__properties: ClassVar[List[str]] = ["cmdId", "stdout", "stderr", "exitCode"]
|
|
35
36
|
|
|
36
37
|
model_config = ConfigDict(
|
|
37
38
|
populate_by_name=True,
|
|
@@ -92,7 +93,8 @@ class SessionExecuteResponse(BaseModel):
|
|
|
92
93
|
|
|
93
94
|
_obj = cls.model_validate({
|
|
94
95
|
"cmdId": obj.get("cmdId"),
|
|
95
|
-
"
|
|
96
|
+
"stdout": obj.get("stdout"),
|
|
97
|
+
"stderr": obj.get("stderr"),
|
|
96
98
|
"exitCode": obj.get("exitCode")
|
|
97
99
|
})
|
|
98
100
|
# store additional fields in additional_properties
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
daytona_api_client/__init__.py,sha256=
|
|
1
|
+
daytona_api_client/__init__.py,sha256=tJUrnA_kecx063xnpuGbeSJgzR5RwBPDqnjTnB586zQ,10259
|
|
2
2
|
daytona_api_client/api_client.py,sha256=9EKcRsveS2okE5kTbp212LVTY6LJATDZEqA8Rj77vXY,27455
|
|
3
3
|
daytona_api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
4
|
daytona_api_client/configuration.py,sha256=Dz7AXjEZ4BCCCUoGQZLfXUTtuH1PUuo3KrlwLO5Dlsk,18241
|
|
@@ -15,11 +15,11 @@ daytona_api_client/api/preview_api.py,sha256=_cYR0xaBKtYBFUKIRezvR0d6swN7yKkmVkJ
|
|
|
15
15
|
daytona_api_client/api/runners_api.py,sha256=kl74Mg19G71Kcj9dNK9xeJCaZ2upk4z-DS7Ul70n-Ww,49018
|
|
16
16
|
daytona_api_client/api/sandbox_api.py,sha256=HIcVHneL_fcHF867FMb5kou9zXDKhZvTWKlowr59Zb4,175269
|
|
17
17
|
daytona_api_client/api/snapshots_api.py,sha256=rt0h_XOyGay-JEaqw69-JqiJEq0GbG1U-MKJtg3Ez0c,103174
|
|
18
|
-
daytona_api_client/api/toolbox_api.py,sha256=
|
|
18
|
+
daytona_api_client/api/toolbox_api.py,sha256=x_R0OcCpLdUYRS6ejGLFM5wOd6OrmE6mr8znRdBKrtc,720571
|
|
19
19
|
daytona_api_client/api/users_api.py,sha256=KR4cw2mfRp06QV2b0UXXQ1Jcx59TyuS0c7yGRr2Sodk,86402
|
|
20
20
|
daytona_api_client/api/volumes_api.py,sha256=N9kxZzhfaZxC_YQ-Vi1QksoTIzqp_dFADywgQup1oSk,56613
|
|
21
21
|
daytona_api_client/api/workspace_api.py,sha256=mjn4jlTtMbKfuqxcr9goo-01RJX-hFjVLT1rF8K5uKI,169328
|
|
22
|
-
daytona_api_client/models/__init__.py,sha256=
|
|
22
|
+
daytona_api_client/models/__init__.py,sha256=ERoqPdaJuWWIuk5xO1aNnW07fVnXA4coppZeJIsWjVw,8880
|
|
23
23
|
daytona_api_client/models/account_provider.py,sha256=yKJ_dMGnxGalNYuVTmo4CoFHpj1PIssSE1rnUaQeOKY,3154
|
|
24
24
|
daytona_api_client/models/account_provider_dto.py,sha256=__7634O02yfv49jLLzvadJlF1YodOeZmWzjZKUmtd2Y,3154
|
|
25
25
|
daytona_api_client/models/api_key_list.py,sha256=LwEm8q2SjDOGa04S0kkk4GRbZPvrpVJ-4Ju1dgcp0b8,5005
|
|
@@ -127,7 +127,7 @@ daytona_api_client/models/search_files_response.py,sha256=3m7itQRgoeqJ8I6PyW-BbR
|
|
|
127
127
|
daytona_api_client/models/session.py,sha256=dg-bsVQRCgL7bIMUYXCufpJfF_QYfLLc88cwDfZKfcE,3944
|
|
128
128
|
daytona_api_client/models/session_command_logs_response.py,sha256=4-nfnZUkCRHn2n5_DDDMyyoH2ieBzRcVjU7ka7kuVE8,3254
|
|
129
129
|
daytona_api_client/models/session_execute_request.py,sha256=_okMRsfmRsIeUe9tUSg06doA9t_FtzPJmh0_IV3Yw4c,3545
|
|
130
|
-
daytona_api_client/models/session_execute_response.py,sha256=
|
|
130
|
+
daytona_api_client/models/session_execute_response.py,sha256=IDOtQigdtudUv38VJVl0tVXP6L-0y38UCmY3Z2Uc3R8,3713
|
|
131
131
|
daytona_api_client/models/set_snapshot_general_status_dto.py,sha256=d1qZ9B51JmiJAYpCvUgiYgB40Ckj_0ubx9Jse9QMkmQ,3148
|
|
132
132
|
daytona_api_client/models/snapshot_dto.py,sha256=eTX3vGw5K0RhjFkNKSo_VcNl28ehB0ZjlEh9TSu_RYY,6051
|
|
133
133
|
daytona_api_client/models/snapshot_state.py,sha256=hVEXEtoHEfE0jd5cF-979GTSKGYZnY6tiIQBU1Ww-9o,975
|
|
@@ -151,8 +151,8 @@ daytona_api_client/models/volume_dto.py,sha256=NL6A6xpc9liR_zlVZKGCoHLlz6r4LAHrM
|
|
|
151
151
|
daytona_api_client/models/volume_state.py,sha256=AaOsyPygY58fquvIkrwFndsXMrG0dCYcGKd8HRZhulg,848
|
|
152
152
|
daytona_api_client/models/windows_response.py,sha256=1fW2GYVSjFbipfQupU2MjfhUlcEyawzwtnWnwGngsFs,3295
|
|
153
153
|
daytona_api_client/models/workspace.py,sha256=9ORG3s149qLI_7RSAAPf7j6WR1AZAgpkS37BFWQJ1Qk,11017
|
|
154
|
-
daytona_api_client-0.
|
|
155
|
-
daytona_api_client-0.
|
|
156
|
-
daytona_api_client-0.
|
|
157
|
-
daytona_api_client-0.
|
|
158
|
-
daytona_api_client-0.
|
|
154
|
+
daytona_api_client-0.26.0a12.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
|
|
155
|
+
daytona_api_client-0.26.0a12.dist-info/METADATA,sha256=YMq2l9UaP9RwZuccp28DlgPPWbz-1kx83EwZf8oZWgw,621
|
|
156
|
+
daytona_api_client-0.26.0a12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
157
|
+
daytona_api_client-0.26.0a12.dist-info/top_level.txt,sha256=sDZKAfxKnAQYvOLS9vAOx88EYH3wV5Wx897pODDupuE,19
|
|
158
|
+
daytona_api_client-0.26.0a12.dist-info/RECORD,,
|
|
File without changes
|
{daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{daytona_api_client-0.25.5.dist-info → daytona_api_client-0.26.0a12.dist-info}/top_level.txt
RENAMED
|
File without changes
|