daytona_toolbox_api_client 0.103.0rc2__py3-none-any.whl → 0.104.0rc1__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_toolbox_api_client might be problematic. Click here for more details.

@@ -88,7 +88,6 @@ from daytona_toolbox_api_client.models.process_logs_response import ProcessLogsR
88
88
  from daytona_toolbox_api_client.models.process_restart_response import ProcessRestartResponse
89
89
  from daytona_toolbox_api_client.models.process_status import ProcessStatus
90
90
  from daytona_toolbox_api_client.models.process_status_response import ProcessStatusResponse
91
- from daytona_toolbox_api_client.models.project_dir_response import ProjectDirResponse
92
91
  from daytona_toolbox_api_client.models.replace_request import ReplaceRequest
93
92
  from daytona_toolbox_api_client.models.replace_result import ReplaceResult
94
93
  from daytona_toolbox_api_client.models.screenshot_response import ScreenshotResponse
@@ -98,5 +97,7 @@ from daytona_toolbox_api_client.models.session import Session
98
97
  from daytona_toolbox_api_client.models.session_execute_request import SessionExecuteRequest
99
98
  from daytona_toolbox_api_client.models.session_execute_response import SessionExecuteResponse
100
99
  from daytona_toolbox_api_client.models.status import Status
100
+ from daytona_toolbox_api_client.models.user_home_dir_response import UserHomeDirResponse
101
101
  from daytona_toolbox_api_client.models.window_info import WindowInfo
102
102
  from daytona_toolbox_api_client.models.windows_response import WindowsResponse
103
+ from daytona_toolbox_api_client.models.work_dir_response import WorkDirResponse
@@ -18,7 +18,8 @@ from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import StrictStr
20
20
  from typing import Dict
21
- from daytona_toolbox_api_client.models.project_dir_response import ProjectDirResponse
21
+ from daytona_toolbox_api_client.models.user_home_dir_response import UserHomeDirResponse
22
+ from daytona_toolbox_api_client.models.work_dir_response import WorkDirResponse
22
23
 
23
24
  from daytona_toolbox_api_client.api_client import ApiClient, RequestSerialized
24
25
  from daytona_toolbox_api_client.api_response import ApiResponse
@@ -39,7 +40,7 @@ class InfoApi:
39
40
 
40
41
 
41
42
  @validate_call
42
- def get_project_dir(
43
+ def get_user_home_dir(
43
44
  self,
44
45
  _request_timeout: Union[
45
46
  None,
@@ -53,10 +54,10 @@ class InfoApi:
53
54
  _content_type: Optional[StrictStr] = None,
54
55
  _headers: Optional[Dict[StrictStr, Any]] = None,
55
56
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
56
- ) -> ProjectDirResponse:
57
- """Get project directory
57
+ ) -> UserHomeDirResponse:
58
+ """Get user home directory
58
59
 
59
- Get the current project directory path
60
+ Get the current user home directory path.
60
61
 
61
62
  :param _request_timeout: timeout setting for this request. If one
62
63
  number provided, it will be total request
@@ -80,7 +81,7 @@ class InfoApi:
80
81
  :return: Returns the result object.
81
82
  """ # noqa: E501
82
83
 
83
- _param = self._get_project_dir_serialize(
84
+ _param = self._get_user_home_dir_serialize(
84
85
  _request_auth=_request_auth,
85
86
  _content_type=_content_type,
86
87
  _headers=_headers,
@@ -88,7 +89,7 @@ class InfoApi:
88
89
  )
89
90
 
90
91
  _response_types_map: Dict[str, Optional[str]] = {
91
- '200': "ProjectDirResponse",
92
+ '200': "UserHomeDirResponse",
92
93
  }
93
94
  response_data = self.api_client.call_api(
94
95
  *_param,
@@ -102,7 +103,7 @@ class InfoApi:
102
103
 
103
104
 
104
105
  @validate_call
105
- def get_project_dir_with_http_info(
106
+ def get_user_home_dir_with_http_info(
106
107
  self,
107
108
  _request_timeout: Union[
108
109
  None,
@@ -116,10 +117,10 @@ class InfoApi:
116
117
  _content_type: Optional[StrictStr] = None,
117
118
  _headers: Optional[Dict[StrictStr, Any]] = None,
118
119
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
119
- ) -> ApiResponse[ProjectDirResponse]:
120
- """Get project directory
120
+ ) -> ApiResponse[UserHomeDirResponse]:
121
+ """Get user home directory
121
122
 
122
- Get the current project directory path
123
+ Get the current user home directory path.
123
124
 
124
125
  :param _request_timeout: timeout setting for this request. If one
125
126
  number provided, it will be total request
@@ -143,7 +144,7 @@ class InfoApi:
143
144
  :return: Returns the result object.
144
145
  """ # noqa: E501
145
146
 
146
- _param = self._get_project_dir_serialize(
147
+ _param = self._get_user_home_dir_serialize(
147
148
  _request_auth=_request_auth,
148
149
  _content_type=_content_type,
149
150
  _headers=_headers,
@@ -151,7 +152,7 @@ class InfoApi:
151
152
  )
152
153
 
153
154
  _response_types_map: Dict[str, Optional[str]] = {
154
- '200': "ProjectDirResponse",
155
+ '200': "UserHomeDirResponse",
155
156
  }
156
157
  response_data = self.api_client.call_api(
157
158
  *_param,
@@ -165,7 +166,7 @@ class InfoApi:
165
166
 
166
167
 
167
168
  @validate_call
168
- def get_project_dir_without_preload_content(
169
+ def get_user_home_dir_without_preload_content(
169
170
  self,
170
171
  _request_timeout: Union[
171
172
  None,
@@ -180,9 +181,9 @@ class InfoApi:
180
181
  _headers: Optional[Dict[StrictStr, Any]] = None,
181
182
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
182
183
  ) -> RESTResponseType:
183
- """Get project directory
184
+ """Get user home directory
184
185
 
185
- Get the current project directory path
186
+ Get the current user home directory path.
186
187
 
187
188
  :param _request_timeout: timeout setting for this request. If one
188
189
  number provided, it will be total request
@@ -206,7 +207,7 @@ class InfoApi:
206
207
  :return: Returns the result object.
207
208
  """ # noqa: E501
208
209
 
209
- _param = self._get_project_dir_serialize(
210
+ _param = self._get_user_home_dir_serialize(
210
211
  _request_auth=_request_auth,
211
212
  _content_type=_content_type,
212
213
  _headers=_headers,
@@ -214,7 +215,7 @@ class InfoApi:
214
215
  )
215
216
 
216
217
  _response_types_map: Dict[str, Optional[str]] = {
217
- '200': "ProjectDirResponse",
218
+ '200': "UserHomeDirResponse",
218
219
  }
219
220
  response_data = self.api_client.call_api(
220
221
  *_param,
@@ -223,7 +224,7 @@ class InfoApi:
223
224
  return response_data.response
224
225
 
225
226
 
226
- def _get_project_dir_serialize(
227
+ def _get_user_home_dir_serialize(
227
228
  self,
228
229
  _request_auth,
229
230
  _content_type,
@@ -267,7 +268,7 @@ class InfoApi:
267
268
 
268
269
  return self.api_client.param_serialize(
269
270
  method='GET',
270
- resource_path='/project-dir',
271
+ resource_path='/user-home-dir',
271
272
  path_params=_path_params,
272
273
  query_params=_query_params,
273
274
  header_params=_header_params,
@@ -526,3 +527,248 @@ class InfoApi:
526
527
  )
527
528
 
528
529
 
530
+
531
+
532
+ @validate_call
533
+ def get_work_dir(
534
+ self,
535
+ _request_timeout: Union[
536
+ None,
537
+ Annotated[StrictFloat, Field(gt=0)],
538
+ Tuple[
539
+ Annotated[StrictFloat, Field(gt=0)],
540
+ Annotated[StrictFloat, Field(gt=0)]
541
+ ]
542
+ ] = None,
543
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
544
+ _content_type: Optional[StrictStr] = None,
545
+ _headers: Optional[Dict[StrictStr, Any]] = None,
546
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
547
+ ) -> WorkDirResponse:
548
+ """Get working directory
549
+
550
+ Get the current working directory path. This is default directory used for running commands.
551
+
552
+ :param _request_timeout: timeout setting for this request. If one
553
+ number provided, it will be total request
554
+ timeout. It can also be a pair (tuple) of
555
+ (connection, read) timeouts.
556
+ :type _request_timeout: int, tuple(int, int), optional
557
+ :param _request_auth: set to override the auth_settings for an a single
558
+ request; this effectively ignores the
559
+ authentication in the spec for a single request.
560
+ :type _request_auth: dict, optional
561
+ :param _content_type: force content-type for the request.
562
+ :type _content_type: str, Optional
563
+ :param _headers: set to override the headers for a single
564
+ request; this effectively ignores the headers
565
+ in the spec for a single request.
566
+ :type _headers: dict, optional
567
+ :param _host_index: set to override the host_index for a single
568
+ request; this effectively ignores the host_index
569
+ in the spec for a single request.
570
+ :type _host_index: int, optional
571
+ :return: Returns the result object.
572
+ """ # noqa: E501
573
+
574
+ _param = self._get_work_dir_serialize(
575
+ _request_auth=_request_auth,
576
+ _content_type=_content_type,
577
+ _headers=_headers,
578
+ _host_index=_host_index
579
+ )
580
+
581
+ _response_types_map: Dict[str, Optional[str]] = {
582
+ '200': "WorkDirResponse",
583
+ }
584
+ response_data = self.api_client.call_api(
585
+ *_param,
586
+ _request_timeout=_request_timeout
587
+ )
588
+ response_data.read()
589
+ return self.api_client.response_deserialize(
590
+ response_data=response_data,
591
+ response_types_map=_response_types_map,
592
+ ).data
593
+
594
+
595
+ @validate_call
596
+ def get_work_dir_with_http_info(
597
+ self,
598
+ _request_timeout: Union[
599
+ None,
600
+ Annotated[StrictFloat, Field(gt=0)],
601
+ Tuple[
602
+ Annotated[StrictFloat, Field(gt=0)],
603
+ Annotated[StrictFloat, Field(gt=0)]
604
+ ]
605
+ ] = None,
606
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
607
+ _content_type: Optional[StrictStr] = None,
608
+ _headers: Optional[Dict[StrictStr, Any]] = None,
609
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
610
+ ) -> ApiResponse[WorkDirResponse]:
611
+ """Get working directory
612
+
613
+ Get the current working directory path. This is default directory used for running commands.
614
+
615
+ :param _request_timeout: timeout setting for this request. If one
616
+ number provided, it will be total request
617
+ timeout. It can also be a pair (tuple) of
618
+ (connection, read) timeouts.
619
+ :type _request_timeout: int, tuple(int, int), optional
620
+ :param _request_auth: set to override the auth_settings for an a single
621
+ request; this effectively ignores the
622
+ authentication in the spec for a single request.
623
+ :type _request_auth: dict, optional
624
+ :param _content_type: force content-type for the request.
625
+ :type _content_type: str, Optional
626
+ :param _headers: set to override the headers for a single
627
+ request; this effectively ignores the headers
628
+ in the spec for a single request.
629
+ :type _headers: dict, optional
630
+ :param _host_index: set to override the host_index for a single
631
+ request; this effectively ignores the host_index
632
+ in the spec for a single request.
633
+ :type _host_index: int, optional
634
+ :return: Returns the result object.
635
+ """ # noqa: E501
636
+
637
+ _param = self._get_work_dir_serialize(
638
+ _request_auth=_request_auth,
639
+ _content_type=_content_type,
640
+ _headers=_headers,
641
+ _host_index=_host_index
642
+ )
643
+
644
+ _response_types_map: Dict[str, Optional[str]] = {
645
+ '200': "WorkDirResponse",
646
+ }
647
+ response_data = self.api_client.call_api(
648
+ *_param,
649
+ _request_timeout=_request_timeout
650
+ )
651
+ response_data.read()
652
+ return self.api_client.response_deserialize(
653
+ response_data=response_data,
654
+ response_types_map=_response_types_map,
655
+ )
656
+
657
+
658
+ @validate_call
659
+ def get_work_dir_without_preload_content(
660
+ self,
661
+ _request_timeout: Union[
662
+ None,
663
+ Annotated[StrictFloat, Field(gt=0)],
664
+ Tuple[
665
+ Annotated[StrictFloat, Field(gt=0)],
666
+ Annotated[StrictFloat, Field(gt=0)]
667
+ ]
668
+ ] = None,
669
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
670
+ _content_type: Optional[StrictStr] = None,
671
+ _headers: Optional[Dict[StrictStr, Any]] = None,
672
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
673
+ ) -> RESTResponseType:
674
+ """Get working directory
675
+
676
+ Get the current working directory path. This is default directory used for running commands.
677
+
678
+ :param _request_timeout: timeout setting for this request. If one
679
+ number provided, it will be total request
680
+ timeout. It can also be a pair (tuple) of
681
+ (connection, read) timeouts.
682
+ :type _request_timeout: int, tuple(int, int), optional
683
+ :param _request_auth: set to override the auth_settings for an a single
684
+ request; this effectively ignores the
685
+ authentication in the spec for a single request.
686
+ :type _request_auth: dict, optional
687
+ :param _content_type: force content-type for the request.
688
+ :type _content_type: str, Optional
689
+ :param _headers: set to override the headers for a single
690
+ request; this effectively ignores the headers
691
+ in the spec for a single request.
692
+ :type _headers: dict, optional
693
+ :param _host_index: set to override the host_index for a single
694
+ request; this effectively ignores the host_index
695
+ in the spec for a single request.
696
+ :type _host_index: int, optional
697
+ :return: Returns the result object.
698
+ """ # noqa: E501
699
+
700
+ _param = self._get_work_dir_serialize(
701
+ _request_auth=_request_auth,
702
+ _content_type=_content_type,
703
+ _headers=_headers,
704
+ _host_index=_host_index
705
+ )
706
+
707
+ _response_types_map: Dict[str, Optional[str]] = {
708
+ '200': "WorkDirResponse",
709
+ }
710
+ response_data = self.api_client.call_api(
711
+ *_param,
712
+ _request_timeout=_request_timeout
713
+ )
714
+ return response_data.response
715
+
716
+
717
+ def _get_work_dir_serialize(
718
+ self,
719
+ _request_auth,
720
+ _content_type,
721
+ _headers,
722
+ _host_index,
723
+ ) -> RequestSerialized:
724
+
725
+ _host = None
726
+
727
+ _collection_formats: Dict[str, str] = {
728
+ }
729
+
730
+ _path_params: Dict[str, str] = {}
731
+ _query_params: List[Tuple[str, str]] = []
732
+ _header_params: Dict[str, Optional[str]] = _headers or {}
733
+ _form_params: List[Tuple[str, str]] = []
734
+ _files: Dict[
735
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
736
+ ] = {}
737
+ _body_params: Optional[bytes] = None
738
+
739
+ # process the path parameters
740
+ # process the query parameters
741
+ # process the header parameters
742
+ # process the form parameters
743
+ # process the body parameter
744
+
745
+
746
+ # set the HTTP header `Accept`
747
+ if 'Accept' not in _header_params:
748
+ _header_params['Accept'] = self.api_client.select_header_accept(
749
+ [
750
+ 'application/json'
751
+ ]
752
+ )
753
+
754
+
755
+ # authentication setting
756
+ _auth_settings: List[str] = [
757
+ ]
758
+
759
+ return self.api_client.param_serialize(
760
+ method='GET',
761
+ resource_path='/work-dir',
762
+ path_params=_path_params,
763
+ query_params=_query_params,
764
+ header_params=_header_params,
765
+ body=_body_params,
766
+ post_params=_form_params,
767
+ files=_files,
768
+ auth_settings=_auth_settings,
769
+ collection_formats=_collection_formats,
770
+ _host=_host,
771
+ _request_auth=_request_auth
772
+ )
773
+
774
+
@@ -65,7 +65,6 @@ from daytona_toolbox_api_client.models.process_logs_response import ProcessLogsR
65
65
  from daytona_toolbox_api_client.models.process_restart_response import ProcessRestartResponse
66
66
  from daytona_toolbox_api_client.models.process_status import ProcessStatus
67
67
  from daytona_toolbox_api_client.models.process_status_response import ProcessStatusResponse
68
- from daytona_toolbox_api_client.models.project_dir_response import ProjectDirResponse
69
68
  from daytona_toolbox_api_client.models.replace_request import ReplaceRequest
70
69
  from daytona_toolbox_api_client.models.replace_result import ReplaceResult
71
70
  from daytona_toolbox_api_client.models.screenshot_response import ScreenshotResponse
@@ -75,5 +74,7 @@ from daytona_toolbox_api_client.models.session import Session
75
74
  from daytona_toolbox_api_client.models.session_execute_request import SessionExecuteRequest
76
75
  from daytona_toolbox_api_client.models.session_execute_response import SessionExecuteResponse
77
76
  from daytona_toolbox_api_client.models.status import Status
77
+ from daytona_toolbox_api_client.models.user_home_dir_response import UserHomeDirResponse
78
78
  from daytona_toolbox_api_client.models.window_info import WindowInfo
79
79
  from daytona_toolbox_api_client.models.windows_response import WindowsResponse
80
+ from daytona_toolbox_api_client.models.work_dir_response import WorkDirResponse
@@ -0,0 +1,100 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Daytona Daemon API
5
+
6
+ Daytona Daemon API
7
+
8
+ The version of the OpenAPI document: v0.0.0-dev
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class UserHomeDirResponse(BaseModel):
26
+ """
27
+ UserHomeDirResponse
28
+ """ # noqa: E501
29
+ dir: Optional[StrictStr] = None
30
+ additional_properties: Dict[str, Any] = {}
31
+ __properties: ClassVar[List[str]] = ["dir"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of UserHomeDirResponse from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ * Fields in `self.additional_properties` are added to the output dict.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ "additional_properties",
67
+ ])
68
+
69
+ _dict = self.model_dump(
70
+ by_alias=True,
71
+ exclude=excluded_fields,
72
+ exclude_none=True,
73
+ )
74
+ # puts key-value pairs in additional_properties in the top level
75
+ if self.additional_properties is not None:
76
+ for _key, _value in self.additional_properties.items():
77
+ _dict[_key] = _value
78
+
79
+ return _dict
80
+
81
+ @classmethod
82
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
83
+ """Create an instance of UserHomeDirResponse from a dict"""
84
+ if obj is None:
85
+ return None
86
+
87
+ if not isinstance(obj, dict):
88
+ return cls.model_validate(obj)
89
+
90
+ _obj = cls.model_validate({
91
+ "dir": obj.get("dir")
92
+ })
93
+ # store additional fields in additional_properties
94
+ for _key in obj.keys():
95
+ if _key not in cls.__properties:
96
+ _obj.additional_properties[_key] = obj.get(_key)
97
+
98
+ return _obj
99
+
100
+
@@ -0,0 +1,100 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Daytona Daemon API
5
+
6
+ Daytona Daemon API
7
+
8
+ The version of the OpenAPI document: v0.0.0-dev
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class WorkDirResponse(BaseModel):
26
+ """
27
+ WorkDirResponse
28
+ """ # noqa: E501
29
+ dir: Optional[StrictStr] = None
30
+ additional_properties: Dict[str, Any] = {}
31
+ __properties: ClassVar[List[str]] = ["dir"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of WorkDirResponse from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ * Fields in `self.additional_properties` are added to the output dict.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ "additional_properties",
67
+ ])
68
+
69
+ _dict = self.model_dump(
70
+ by_alias=True,
71
+ exclude=excluded_fields,
72
+ exclude_none=True,
73
+ )
74
+ # puts key-value pairs in additional_properties in the top level
75
+ if self.additional_properties is not None:
76
+ for _key, _value in self.additional_properties.items():
77
+ _dict[_key] = _value
78
+
79
+ return _dict
80
+
81
+ @classmethod
82
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
83
+ """Create an instance of WorkDirResponse from a dict"""
84
+ if obj is None:
85
+ return None
86
+
87
+ if not isinstance(obj, dict):
88
+ return cls.model_validate(obj)
89
+
90
+ _obj = cls.model_validate({
91
+ "dir": obj.get("dir")
92
+ })
93
+ # store additional fields in additional_properties
94
+ for _key in obj.keys():
95
+ if _key not in cls.__properties:
96
+ _obj.additional_properties[_key] = obj.get(_key)
97
+
98
+ return _obj
99
+
100
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_toolbox_api_client
3
- Version: 0.103.0rc2
3
+ Version: 0.104.0rc1
4
4
  Summary: Daytona Daemon API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -77,7 +77,7 @@ daytona_daemon_api_client/models/session_execute_response.py,sha256=ARYgUuda095h
77
77
  daytona_daemon_api_client/models/status.py,sha256=kZAoWlxOH_sVIiaLiK9Fo-lmRvW-th2R20udjU0Gbm0,932
78
78
  daytona_daemon_api_client/models/window_info.py,sha256=z0MS1b0ybB_FXjD9ezjd9gExqQTBhx_rJDTUieMWNY4,3656
79
79
  daytona_daemon_api_client/models/windows_response.py,sha256=FRHxxrbHSBHCWmrauh5Ucl562lLHKhLSzQhNh82gd_Q,3608
80
- daytona_toolbox_api_client/__init__.py,sha256=MfaNxWX-ZFIz0nKQEHO4P--eReVWY8G_wNyb6cERW74,6494
80
+ daytona_toolbox_api_client/__init__.py,sha256=iiDdHvNlKXwqHWvNTuuEG4ZSWldW9Y2KxG5d8a_S-Ww,6577
81
81
  daytona_toolbox_api_client/api_client.py,sha256=KDHfzRIF_AU_8mlnfngFwRk-9Ti9os3rFYokE6nOUIo,27478
82
82
  daytona_toolbox_api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
83
83
  daytona_toolbox_api_client/configuration.py,sha256=Ji1bGZ6Bt7ZMxzNmAm_xeitnJWErNQvlqvZuYM6-vak,17867
@@ -88,11 +88,11 @@ daytona_toolbox_api_client/api/__init__.py,sha256=fOOg-pE13KlbDfV4mqBVTL-v31RTp0
88
88
  daytona_toolbox_api_client/api/computer_use_api.py,sha256=Rmgxd-hz6jcW6-vARxFsPNrWBkG35YYCud1CS2XTm_I,233703
89
89
  daytona_toolbox_api_client/api/file_system_api.py,sha256=HW9OzjPhH5zhBm4V-6UL0ZuDUMIKxXr2yRqtKsiAFgI,127500
90
90
  daytona_toolbox_api_client/api/git_api.py,sha256=Ulqa8DY7qEJOc2nw4znqfalf474-nEnd-Oj6-UXM-jU,113391
91
- daytona_toolbox_api_client/api/info_api.py,sha256=htmR_-fDlBiWhqdPu-U0qJRVEZY5wR5pWmGfEEq4r4I,19604
91
+ daytona_toolbox_api_client/api/info_api.py,sha256=NDZ4DPRIO5MyUwsFejT1Ljvpi_bcxc2kVqW94FiogIE,29143
92
92
  daytona_toolbox_api_client/api/lsp_api.py,sha256=oriPP7_cnzglgsX3CUqiDE58_h2fdzDH2GCZdf3pfNU,75907
93
93
  daytona_toolbox_api_client/api/port_api.py,sha256=cF4I2vXdatw2sW0j-1ttT3yrOM4Ie1FiLMS5c_IcWpE,20361
94
94
  daytona_toolbox_api_client/api/process_api.py,sha256=1YEjxLzwfjAdEsOAR9NhftVfUz2CY2z8Gt5y9lruwuw,85216
95
- daytona_toolbox_api_client/models/__init__.py,sha256=xjNdcehVGKWztbZuv8QRUY7VAojIQBSawPmBCY89zoY,5388
95
+ daytona_toolbox_api_client/models/__init__.py,sha256=HNshAcVAUpQAqm3Kwt3COLbS0hgoz3A-UbrQ0UF0oh0,5471
96
96
  daytona_toolbox_api_client/models/command.py,sha256=hELDQubDcHIHApc8wHPXxeY596ht6s_1vFZGpUhIZs0,3196
97
97
  daytona_toolbox_api_client/models/completion_context.py,sha256=z1kphoaAp0t3z3uR0ModR1d-U7F8mpYxUJr4tqkShXw,3265
98
98
  daytona_toolbox_api_client/models/completion_item.py,sha256=9kzSxH90pR7GFfQvtdUz4unFDrEWIkxh3eINrbxaujE,3738
@@ -154,10 +154,12 @@ daytona_toolbox_api_client/models/session.py,sha256=QRVtwpGaLZfO_u4BV-RJPBYLSpw5
154
154
  daytona_toolbox_api_client/models/session_execute_request.py,sha256=2Lk9PvyUhnnn-EjeBUtYdqQSUYV715I0qEBVHUg0nAQ,3318
155
155
  daytona_toolbox_api_client/models/session_execute_response.py,sha256=8zEh5_mtt6SNNLNm8OZo0QHTkQGT3CjRpFBPW_sjcRU,3509
156
156
  daytona_toolbox_api_client/models/status.py,sha256=ELrg4yNtLqYyfJXmRIbBFlVxslxtTaVQQs3ZV4JYCVs,839
157
+ daytona_toolbox_api_client/models/user_home_dir_response.py,sha256=Fwjvh67y7rimuNeJIWOBqewM2oGS1Yhm-KytOCpU25E,3038
157
158
  daytona_toolbox_api_client/models/window_info.py,sha256=j51qmsoQLjdaca33_3U6NjIOfICSEFaOJzuZ5F3LQMY,3563
158
159
  daytona_toolbox_api_client/models/windows_response.py,sha256=pdtlIUbVn4pST1zNtjeKFpTxxc3Bmvx_b2HlAx2Qv_A,3515
159
- daytona_toolbox_api_client-0.103.0rc2.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
160
- daytona_toolbox_api_client-0.103.0rc2.dist-info/METADATA,sha256=3-kHStGgufGlFaB4tx3OCJh5fBNMQc8FRzb-dH8dEV4,649
161
- daytona_toolbox_api_client-0.103.0rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- daytona_toolbox_api_client-0.103.0rc2.dist-info/top_level.txt,sha256=JvjFCFgSGZJuYXlE1BYbLKvjpGYIQReex7JEeXfDioI,53
163
- daytona_toolbox_api_client-0.103.0rc2.dist-info/RECORD,,
160
+ daytona_toolbox_api_client/models/work_dir_response.py,sha256=fo2exc7KkiCekkd7nD0NKw4JF6upU5cifTGz4mh9IQI,3022
161
+ daytona_toolbox_api_client-0.104.0rc1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
162
+ daytona_toolbox_api_client-0.104.0rc1.dist-info/METADATA,sha256=Y474AszbBS09FP7lh4xoDiKZvQnSv1xoiCFqpB733sc,649
163
+ daytona_toolbox_api_client-0.104.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
164
+ daytona_toolbox_api_client-0.104.0rc1.dist-info/top_level.txt,sha256=JvjFCFgSGZJuYXlE1BYbLKvjpGYIQReex7JEeXfDioI,53
165
+ daytona_toolbox_api_client-0.104.0rc1.dist-info/RECORD,,