daytona_api_client_async 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_async might be problematic. Click here for more details.

@@ -140,6 +140,7 @@ from daytona_api_client_async.models.sandbox_volume import SandboxVolume
140
140
  from daytona_api_client_async.models.screenshot_response import ScreenshotResponse
141
141
  from daytona_api_client_async.models.search_files_response import SearchFilesResponse
142
142
  from daytona_api_client_async.models.session import Session
143
+ from daytona_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
143
144
  from daytona_api_client_async.models.session_execute_request import SessionExecuteRequest
144
145
  from daytona_api_client_async.models.session_execute_response import SessionExecuteResponse
145
146
  from daytona_api_client_async.models.set_snapshot_general_status_dto import SetSnapshotGeneralStatusDto
@@ -70,6 +70,7 @@ from daytona_api_client_async.models.replace_result import ReplaceResult
70
70
  from daytona_api_client_async.models.screenshot_response import ScreenshotResponse
71
71
  from daytona_api_client_async.models.search_files_response import SearchFilesResponse
72
72
  from daytona_api_client_async.models.session import Session
73
+ from daytona_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
73
74
  from daytona_api_client_async.models.session_execute_request import SessionExecuteRequest
74
75
  from daytona_api_client_async.models.session_execute_response import SessionExecuteResponse
75
76
  from daytona_api_client_async.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
- ) -> str:
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': "str",
6057
+ '200': "SessionCommandLogsResponse",
6057
6058
  }
6058
6059
  response_data = await 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[str]:
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': "str",
6140
+ '200': "SessionCommandLogsResponse",
6140
6141
  }
6141
6142
  response_data = await 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': "str",
6223
+ '200': "SessionCommandLogsResponse",
6223
6224
  }
6224
6225
  response_data = await 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
- 'text/plain'
6282
+ 'application/json'
6282
6283
  ]
6283
6284
  )
6284
6285
 
@@ -111,6 +111,7 @@ from daytona_api_client_async.models.sandbox_volume import SandboxVolume
111
111
  from daytona_api_client_async.models.screenshot_response import ScreenshotResponse
112
112
  from daytona_api_client_async.models.search_files_response import SearchFilesResponse
113
113
  from daytona_api_client_async.models.session import Session
114
+ from daytona_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
114
115
  from daytona_api_client_async.models.session_execute_request import SessionExecuteRequest
115
116
  from daytona_api_client_async.models.session_execute_response import SessionExecuteResponse
116
117
  from daytona_api_client_async.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
- output: Optional[StrictStr] = Field(default=None, description="The output of the executed command")
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", "output", "exitCode"]
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
- "output": obj.get("output"),
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_api_client_async
3
- Version: 0.25.5
3
+ Version: 0.26.0a12
4
4
  Summary: Daytona
5
5
  Home-page:
6
6
  Author: Daytona Platforms Inc.
@@ -1,4 +1,4 @@
1
- daytona_api_client_async/__init__.py,sha256=sMmc1Din3Y1MqAfa7HThHdwsLIg9LH6iY6v3Oqm9tR8,10986
1
+ daytona_api_client_async/__init__.py,sha256=pcPyhJ5X2eh8VFJGBTvz6my6xQQDWXeVqgSRF76Occc,11087
2
2
  daytona_api_client_async/api_client.py,sha256=FrpVLztK7lFu1O0ZPkojl5l-tB_jGIKmDAc5k-VOWJg,27598
3
3
  daytona_api_client_async/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
4
  daytona_api_client_async/configuration.py,sha256=hWTtQJ-3aR2SzZScWV02gUUaOt1-L99egXbDD6X692Y,17963
@@ -17,11 +17,11 @@ daytona_api_client_async/api/preview_api.py,sha256=tflnMN3QXSTx-tI1GZf70VY714MQT
17
17
  daytona_api_client_async/api/runners_api.py,sha256=DjL55SHmiIG1CkNrhiNGiiW9tBMrkLo1DiqAmNhpDoI,49294
18
18
  daytona_api_client_async/api/sandbox_api.py,sha256=2oyzc0SG5NyzBb2ZC8swUqKephtxgrVsqsvShjPPqwM,176031
19
19
  daytona_api_client_async/api/snapshots_api.py,sha256=8e6q5AKAhheGbJoMriLG_7-LmAuJoA_xafZtWh2nKPQ,103648
20
- daytona_api_client_async/api/toolbox_api.py,sha256=plhAImkMRhqC4qcCvlRUpjiLD3Uli5HwBWNX1FTuAYM,723310
20
+ daytona_api_client_async/api/toolbox_api.py,sha256=M_Wj8xn62lHFm0xC9-901D3OCl0nJUrcL63yXXh7EEM,723793
21
21
  daytona_api_client_async/api/users_api.py,sha256=5vpJFiutNo-ygzejbkOz3iPMT4mLjNyvBZdNWTaQSFw,86876
22
22
  daytona_api_client_async/api/volumes_api.py,sha256=Hhmny-51SBZhvm3Vztaud1ImEY3p14c3VdjeZN8SP7M,56883
23
23
  daytona_api_client_async/api/workspace_api.py,sha256=krpDz2ro-e1QuQ8Bi4cnckymIEIlPJePBM6ieksguq8,170042
24
- daytona_api_client_async/models/__init__.py,sha256=xLxOREdld1QrxoqSpn72bn74XWU5r4Yi2F8g8kKei9M,9475
24
+ daytona_api_client_async/models/__init__.py,sha256=doGva0LSxCOtl0D3WyPLCQCa0Ky8YsQa3gTj3cd9fDw,9576
25
25
  daytona_api_client_async/models/account_provider.py,sha256=yKJ_dMGnxGalNYuVTmo4CoFHpj1PIssSE1rnUaQeOKY,3154
26
26
  daytona_api_client_async/models/api_key_list.py,sha256=LwEm8q2SjDOGa04S0kkk4GRbZPvrpVJ-4Ju1dgcp0b8,5005
27
27
  daytona_api_client_async/models/api_key_response.py,sha256=XWqJdKTMp1w8uoUpmeKn0tKeXeImTJElnTvLunZGX5Y,4611
@@ -133,7 +133,7 @@ daytona_api_client_async/models/search_files_response.py,sha256=3m7itQRgoeqJ8I6P
133
133
  daytona_api_client_async/models/session.py,sha256=Y1paKlj2B_yt6mDI_g0aNGLu5mLXmEmuSa6CxBba4rc,3950
134
134
  daytona_api_client_async/models/session_command_logs_response.py,sha256=4-nfnZUkCRHn2n5_DDDMyyoH2ieBzRcVjU7ka7kuVE8,3254
135
135
  daytona_api_client_async/models/session_execute_request.py,sha256=_okMRsfmRsIeUe9tUSg06doA9t_FtzPJmh0_IV3Yw4c,3545
136
- daytona_api_client_async/models/session_execute_response.py,sha256=_TYkpP7y3HKGYRKUPS1PxXlWQKl2iHOqeYP6jwNR48Q,3558
136
+ daytona_api_client_async/models/session_execute_response.py,sha256=IDOtQigdtudUv38VJVl0tVXP6L-0y38UCmY3Z2Uc3R8,3713
137
137
  daytona_api_client_async/models/set_image_general_status.py,sha256=V3B4pw1yrfdbxTuC0sXVhGO-8qCeEgC0vVuvzZPyxf8,3121
138
138
  daytona_api_client_async/models/set_snapshot_general_status_dto.py,sha256=d1qZ9B51JmiJAYpCvUgiYgB40Ckj_0ubx9Jse9QMkmQ,3148
139
139
  daytona_api_client_async/models/snapshot_dto.py,sha256=-27y_qwwLdJQw8xe9g9kZBLNRQlme6WgvQl7PWVpmmQ,6063
@@ -157,8 +157,8 @@ daytona_api_client_async/models/workspace_info.py,sha256=aO9EkS6E4LhjrFAY25FJZYn
157
157
  daytona_api_client_async/models/workspace_labels.py,sha256=aMjsVYM4rezpMD6jLVbPqdi72DIIltjqPP0kuGueUsg,3099
158
158
  daytona_api_client_async/models/workspace_state.py,sha256=AqPukjpvYLhkThzx8T4WsKKSuXOOxLwFZ8385AtNVtE,1108
159
159
  daytona_api_client_async/models/workspace_volume.py,sha256=Suo2yiRw80i_24Yp5lFsWpQoykTOxqjHYVQPnx84vGc,3268
160
- daytona_api_client_async-0.25.5.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
- daytona_api_client_async-0.25.5.dist-info/METADATA,sha256=YaC30w6-VtmQjXMoIETmkPWI27oZENmm_BIn43EuBRE,690
162
- daytona_api_client_async-0.25.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
- daytona_api_client_async-0.25.5.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
- daytona_api_client_async-0.25.5.dist-info/RECORD,,
160
+ daytona_api_client_async-0.26.0a12.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
+ daytona_api_client_async-0.26.0a12.dist-info/METADATA,sha256=6Q85ebSGe60ND45Gg_CW42ZXA47xVtDvlOkrF_HHayE,693
162
+ daytona_api_client_async-0.26.0a12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
+ daytona_api_client_async-0.26.0a12.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
+ daytona_api_client_async-0.26.0a12.dist-info/RECORD,,