twc-cli 2.14.0__py3-none-any.whl → 2.14.1__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 twc-cli might be problematic. Click here for more details.
- twc/__version__.py +1 -1
- twc/api/client.py +2 -0
- {twc_cli-2.14.0.dist-info → twc_cli-2.14.1.dist-info}/METADATA +4 -2
- {twc_cli-2.14.0.dist-info → twc_cli-2.14.1.dist-info}/RECORD +7 -7
- {twc_cli-2.14.0.dist-info → twc_cli-2.14.1.dist-info}/WHEEL +1 -1
- {twc_cli-2.14.0.dist-info → twc_cli-2.14.1.dist-info}/entry_points.txt +0 -0
- {twc_cli-2.14.0.dist-info → twc_cli-2.14.1.dist-info/licenses}/COPYING +0 -0
twc/__version__.py
CHANGED
twc/api/client.py
CHANGED
|
@@ -118,6 +118,7 @@ class TimewebCloud(TimewebCloudBase):
|
|
|
118
118
|
availability_zone: Optional[ServiceAvailabilityZone] = None,
|
|
119
119
|
is_root_password_required: Optional[bool] = None,
|
|
120
120
|
project_id: Optional[int] = None,
|
|
121
|
+
cloud_init: Optional[str] = None,
|
|
121
122
|
):
|
|
122
123
|
"""Create new Cloud Server. Note:
|
|
123
124
|
|
|
@@ -161,6 +162,7 @@ class TimewebCloud(TimewebCloudBase):
|
|
|
161
162
|
else {}
|
|
162
163
|
),
|
|
163
164
|
**({"project_id": project_id} if project_id else {}),
|
|
165
|
+
**({"cloud_init": cloud_init} if cloud_init else {}),
|
|
164
166
|
}
|
|
165
167
|
|
|
166
168
|
return self._request("POST", f"{self.api_url}/servers", json=payload)
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: twc-cli
|
|
3
|
-
Version: 2.14.
|
|
3
|
+
Version: 2.14.1
|
|
4
4
|
Summary: Timeweb Cloud Command Line Interface.
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: COPYING
|
|
6
7
|
Author: ge
|
|
7
8
|
Author-email: dev@timeweb.cloud
|
|
8
9
|
Requires-Python: >=3.8.19,<4.0.0
|
|
@@ -13,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
13
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
18
|
Requires-Dist: click (<8.2.0)
|
|
17
19
|
Requires-Dist: colorama (>=0.4.6,<0.5.0)
|
|
18
20
|
Requires-Dist: pygments (>=2.18.0,<3.0.0)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
twc/__init__.py,sha256=NwPAMNw3NuHdWGQvWS9_lromVF6VM194oVOipojfJns,113
|
|
2
2
|
twc/__main__.py,sha256=lgyLdXuTDWQXmXkpGCxStOUBqYGQZEUdlj7IrhJeTdQ,2511
|
|
3
|
-
twc/__version__.py,sha256=
|
|
3
|
+
twc/__version__.py,sha256=wZS6burXT-qZq2hHnMe44g3_-SuuXJ18e-_Jj74kJM4,443
|
|
4
4
|
twc/api/__init__.py,sha256=SXew0Fe51M7nRBNQaaLRH4NjnRHkQUn7J26OCkQsftA,128
|
|
5
5
|
twc/api/base.py,sha256=QRefnIgmlbz8n37GLBKeAK1AtzkcNo1IFjZgHDDECJ4,7912
|
|
6
|
-
twc/api/client.py,sha256=
|
|
6
|
+
twc/api/client.py,sha256=Wfb6DI2gpZjQZvpo-w1tftb2N3G6-PNHfIwkfdmgk2o,68237
|
|
7
7
|
twc/api/exceptions.py,sha256=6nMU20f-Xe7EbH2jpfmSGMW69Rwfhh_ph9ygz37G0XY,2416
|
|
8
8
|
twc/api/types.py,sha256=uagnD3TPpoJFYUFK6HfHQPlEXs2GLxuJdjhNIbraXwM,5374
|
|
9
9
|
twc/apiwrap.py,sha256=hKrg_o6rLfY32SEnWMc1BSXHnSAh7TGar1JQ90YnG5M,2970
|
|
@@ -28,8 +28,8 @@ twc/fmt.py,sha256=nbuYZ8nVabYDwCmZqnL3-c6Tmri4B-R_sTCkG6sdfeI,7171
|
|
|
28
28
|
twc/typerx.py,sha256=AZ6BgTQvlrZYfKVYd9YqRNQnAR2XuyqImz4rf6di6f4,6737
|
|
29
29
|
twc/utils.py,sha256=uWizyUC4dHLwtk50q4Sub3zOvnVESfHKBbXYwk5t71w,651
|
|
30
30
|
twc/vars.py,sha256=ljW52q6XwsbQqOBPGhs5rbZ5ZqVvQXdKqUt8mLhXRts,830
|
|
31
|
-
twc_cli-2.14.
|
|
32
|
-
twc_cli-2.14.
|
|
33
|
-
twc_cli-2.14.
|
|
34
|
-
twc_cli-2.14.
|
|
35
|
-
twc_cli-2.14.
|
|
31
|
+
twc_cli-2.14.1.dist-info/METADATA,sha256=ElGhHh8URk9vw7rqmVnRK4fRsM0JZhqOGJAX4Z2BbAg,2768
|
|
32
|
+
twc_cli-2.14.1.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
33
|
+
twc_cli-2.14.1.dist-info/entry_points.txt,sha256=tmTaVRhm8BkNrXC_9XJMum7O9wFVOvkXcBetxmahWvE,40
|
|
34
|
+
twc_cli-2.14.1.dist-info/licenses/COPYING,sha256=fpJLxZS_kHr_659xkpmqEtqHeZp6lQR9CmKCwnYbsmE,1089
|
|
35
|
+
twc_cli-2.14.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|