daytona_toolbox_api_client 0.104.0rc1__py3-none-any.whl → 0.108.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.

@@ -0,0 +1,114 @@
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, Field, StrictBool, StrictInt, 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 PtySessionInfo(BaseModel):
26
+ """
27
+ PtySessionInfo
28
+ """ # noqa: E501
29
+ active: Optional[StrictBool] = None
30
+ cols: Optional[StrictInt] = None
31
+ created_at: Optional[StrictStr] = Field(default=None, alias="createdAt")
32
+ cwd: Optional[StrictStr] = None
33
+ envs: Optional[Dict[str, StrictStr]] = None
34
+ id: Optional[StrictStr] = None
35
+ lazy_start: Optional[StrictBool] = Field(default=None, description="Whether this session uses lazy start", alias="lazyStart")
36
+ rows: Optional[StrictInt] = None
37
+ additional_properties: Dict[str, Any] = {}
38
+ __properties: ClassVar[List[str]] = ["active", "cols", "createdAt", "cwd", "envs", "id", "lazyStart", "rows"]
39
+
40
+ model_config = ConfigDict(
41
+ populate_by_name=True,
42
+ validate_assignment=True,
43
+ protected_namespaces=(),
44
+ )
45
+
46
+
47
+ def to_str(self) -> str:
48
+ """Returns the string representation of the model using alias"""
49
+ return pprint.pformat(self.model_dump(by_alias=True))
50
+
51
+ def to_json(self) -> str:
52
+ """Returns the JSON representation of the model using alias"""
53
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
54
+ return json.dumps(self.to_dict())
55
+
56
+ @classmethod
57
+ def from_json(cls, json_str: str) -> Optional[Self]:
58
+ """Create an instance of PtySessionInfo from a JSON string"""
59
+ return cls.from_dict(json.loads(json_str))
60
+
61
+ def to_dict(self) -> Dict[str, Any]:
62
+ """Return the dictionary representation of the model using alias.
63
+
64
+ This has the following differences from calling pydantic's
65
+ `self.model_dump(by_alias=True)`:
66
+
67
+ * `None` is only added to the output dict for nullable fields that
68
+ were set at model initialization. Other fields with value `None`
69
+ are ignored.
70
+ * Fields in `self.additional_properties` are added to the output dict.
71
+ """
72
+ excluded_fields: Set[str] = set([
73
+ "additional_properties",
74
+ ])
75
+
76
+ _dict = self.model_dump(
77
+ by_alias=True,
78
+ exclude=excluded_fields,
79
+ exclude_none=True,
80
+ )
81
+ # puts key-value pairs in additional_properties in the top level
82
+ if self.additional_properties is not None:
83
+ for _key, _value in self.additional_properties.items():
84
+ _dict[_key] = _value
85
+
86
+ return _dict
87
+
88
+ @classmethod
89
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
90
+ """Create an instance of PtySessionInfo from a dict"""
91
+ if obj is None:
92
+ return None
93
+
94
+ if not isinstance(obj, dict):
95
+ return cls.model_validate(obj)
96
+
97
+ _obj = cls.model_validate({
98
+ "active": obj.get("active"),
99
+ "cols": obj.get("cols"),
100
+ "createdAt": obj.get("createdAt"),
101
+ "cwd": obj.get("cwd"),
102
+ "envs": obj.get("envs"),
103
+ "id": obj.get("id"),
104
+ "lazyStart": obj.get("lazyStart"),
105
+ "rows": obj.get("rows")
106
+ })
107
+ # store additional fields in additional_properties
108
+ for _key in obj.keys():
109
+ if _key not in cls.__properties:
110
+ _obj.additional_properties[_key] = obj.get(_key)
111
+
112
+ return _obj
113
+
114
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_toolbox_api_client
3
- Version: 0.104.0rc1
3
+ Version: 0.108.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=iiDdHvNlKXwqHWvNTuuEG4ZSWldW9Y2KxG5d8a_S-Ww,6577
80
+ daytona_toolbox_api_client/__init__.py,sha256=eS6PwH6mWfSEMOFqJHl3WRnWIJXbK5wvkeGcdaUIKd0,7073
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
@@ -86,13 +86,13 @@ daytona_toolbox_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
86
86
  daytona_toolbox_api_client/rest.py,sha256=qWrlMPZhH_LG9-JJcvuDFQ619h1bLFs4r0Z8OmaQK4w,9408
87
87
  daytona_toolbox_api_client/api/__init__.py,sha256=fOOg-pE13KlbDfV4mqBVTL-v31RTp0v0WHbrBr_UBIU,498
88
88
  daytona_toolbox_api_client/api/computer_use_api.py,sha256=Rmgxd-hz6jcW6-vARxFsPNrWBkG35YYCud1CS2XTm_I,233703
89
- daytona_toolbox_api_client/api/file_system_api.py,sha256=HW9OzjPhH5zhBm4V-6UL0ZuDUMIKxXr2yRqtKsiAFgI,127500
89
+ daytona_toolbox_api_client/api/file_system_api.py,sha256=NG1lJvglfjCLb_sgLkfZgywAtldxGO7FdAiP0i9iNsE,138317
90
90
  daytona_toolbox_api_client/api/git_api.py,sha256=Ulqa8DY7qEJOc2nw4znqfalf474-nEnd-Oj6-UXM-jU,113391
91
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
- daytona_toolbox_api_client/api/process_api.py,sha256=1YEjxLzwfjAdEsOAR9NhftVfUz2CY2z8Gt5y9lruwuw,85216
95
- daytona_toolbox_api_client/models/__init__.py,sha256=HNshAcVAUpQAqm3Kwt3COLbS0hgoz3A-UbrQ0UF0oh0,5471
94
+ daytona_toolbox_api_client/api/process_api.py,sha256=83RC9BRMRSFIngdQ_Z2O-8t9D5PNyMhncBG4OYkAP0w,147030
95
+ daytona_toolbox_api_client/models/__init__.py,sha256=ELgfA4LV8PpABAQMsSL22FPnbSl35CUf4mdec0PKMbs,5967
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
@@ -105,8 +105,10 @@ daytona_toolbox_api_client/models/display_info.py,sha256=dZfXH9acaa6tNkmelT_n1tH
105
105
  daytona_toolbox_api_client/models/display_info_response.py,sha256=li5OfxYFLZDBAycOwftbIgGdsyjjaM4juCRuPiYfmVA,3547
106
106
  daytona_toolbox_api_client/models/execute_request.py,sha256=yLVopg52YSvAsO1Z2mKkCxIbnLQD2v4ilRALbBwIJj0,3336
107
107
  daytona_toolbox_api_client/models/execute_response.py,sha256=2ym9Q2B5OXjDRAUrDbi6MW0r_nsMQfKgSW_9VP5MiYY,3083
108
+ daytona_toolbox_api_client/models/file_download_request.py,sha256=YU5p5aJiY7djP469oS3N_zGpVNJ3zeN00bz0zGpWHic,3025
108
109
  daytona_toolbox_api_client/models/file_info.py,sha256=iqrdMORRG-f0BpFh0NWY1SKkWzPwOUmU_fP-101XPnk,3559
109
110
  daytona_toolbox_api_client/models/file_status.py,sha256=vIvlPomjJAIbJShAQi2Aj1E6dxRylu_Buark4Pv3ZX4,3260
111
+ daytona_toolbox_api_client/models/files_download_request.py,sha256=w2eLbmTcb_rhOJHG0HTOAoCvC1STIQTr0izatLthY-A,3029
110
112
  daytona_toolbox_api_client/models/git_add_request.py,sha256=NxW9BI1Fbroe5LCP3-57rK-JndgzTc-qOycky3lRaFE,3131
111
113
  daytona_toolbox_api_client/models/git_branch_request.py,sha256=iFaIBS-QZHRCFMQ7k3Wxxbdhds9CQ0Y8l67uFyWgMcw,3068
112
114
  daytona_toolbox_api_client/models/git_checkout_request.py,sha256=inkl0XXStWWN2sKT63P_CpS7gHFPEPwI-VccGOM8Ay0,3084
@@ -145,6 +147,11 @@ daytona_toolbox_api_client/models/process_restart_response.py,sha256=e8B-2nuF4Nb
145
147
  daytona_toolbox_api_client/models/process_status.py,sha256=a3iELuwqrDfmvuRWmt_ykmcr-zdg5ZW2P9PUKFkGAPM,3374
146
148
  daytona_toolbox_api_client/models/process_status_response.py,sha256=GG_BV59EH2N4wpG1zHGKuq1nbWKmXNp8Q2wiAkNqdbs,3229
147
149
  daytona_toolbox_api_client/models/project_dir_response.py,sha256=Bo6WNiyknQKloDIwViwU3opQoviP4G_1-1s2iDvB-b8,3034
150
+ daytona_toolbox_api_client/models/pty_create_request.py,sha256=Tu2y8yQqDhmFCmQk8agnc8YWaJzb7xhzryqgiIy8vZY,3584
151
+ daytona_toolbox_api_client/models/pty_create_response.py,sha256=xLHwODTn0X4GgXgHzvsST639wMJYld1DxgBIuR5mY_A,3096
152
+ daytona_toolbox_api_client/models/pty_list_response.py,sha256=7nkRJmBOk4n9vLcC9qeWgibjz3FfRTtM7GA0sziFg5g,3544
153
+ daytona_toolbox_api_client/models/pty_resize_request.py,sha256=MHqx8xv82LGxXwPF99VMQShrK5j0n-Yw2o9QkwgiRT8,3184
154
+ daytona_toolbox_api_client/models/pty_session_info.py,sha256=UzsE9CyNhPHPM4YZvQhAFFTvQdmRbhU3ritLIkySYzs,3797
148
155
  daytona_toolbox_api_client/models/replace_request.py,sha256=QEweDoBDAiiu4ztGeNJDxSG4LTn0puXoriTTr1sFJbE,3197
149
156
  daytona_toolbox_api_client/models/replace_result.py,sha256=lcIDxhxfiJn2d-xOR_Pe6Zsgy2EZqU-vhGBkeHHUuhU,3211
150
157
  daytona_toolbox_api_client/models/screenshot_response.py,sha256=2Uxkp8eS2iijzFydH4-x9BwQEtswWV2WYu4uKq6e1LM,3705
@@ -158,8 +165,8 @@ daytona_toolbox_api_client/models/user_home_dir_response.py,sha256=Fwjvh67y7rimu
158
165
  daytona_toolbox_api_client/models/window_info.py,sha256=j51qmsoQLjdaca33_3U6NjIOfICSEFaOJzuZ5F3LQMY,3563
159
166
  daytona_toolbox_api_client/models/windows_response.py,sha256=pdtlIUbVn4pST1zNtjeKFpTxxc3Bmvx_b2HlAx2Qv_A,3515
160
167
  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,,
168
+ daytona_toolbox_api_client-0.108.0rc1.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
169
+ daytona_toolbox_api_client-0.108.0rc1.dist-info/METADATA,sha256=CXRPu0UGSRnPO0a2Frzqp6YdmrLKqiXqZP9UXj2qfiw,649
170
+ daytona_toolbox_api_client-0.108.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
171
+ daytona_toolbox_api_client-0.108.0rc1.dist-info/top_level.txt,sha256=JvjFCFgSGZJuYXlE1BYbLKvjpGYIQReex7JEeXfDioI,53
172
+ daytona_toolbox_api_client-0.108.0rc1.dist-info/RECORD,,