cyberdesk 2.1.6__py3-none-any.whl → 2.1.7__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 cyberdesk might be problematic. Click here for more details.
- cyberdesk/__init__.py +1 -1
- {cyberdesk-2.1.6.dist-info → cyberdesk-2.1.7.dist-info}/METADATA +1 -1
- {cyberdesk-2.1.6.dist-info → cyberdesk-2.1.7.dist-info}/RECORD +7 -7
- openapi_client/cyberdesk_cloud_client/models/workflow_chain_create.py +27 -17
- {cyberdesk-2.1.6.dist-info → cyberdesk-2.1.7.dist-info}/WHEEL +0 -0
- {cyberdesk-2.1.6.dist-info → cyberdesk-2.1.7.dist-info}/licenses/LICENSE +0 -0
- {cyberdesk-2.1.6.dist-info → cyberdesk-2.1.7.dist-info}/top_level.txt +0 -0
cyberdesk/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
cyberdesk/__init__.py,sha256=
|
|
1
|
+
cyberdesk/__init__.py,sha256=TcWqlSAchYDLqSlEYJaJMVs9oXo5lWGZ9JvIp_tbY3U,1157
|
|
2
2
|
cyberdesk/client.py,sha256=QbOzRMrqAnCH7_13O0cU5HO0FpQFXbZOyCsfusaWXPc,65112
|
|
3
|
-
cyberdesk-2.1.
|
|
3
|
+
cyberdesk-2.1.7.dist-info/licenses/LICENSE,sha256=06Op63FCwGhuUOz__M8IZW5sxd29WxyGC4X5-Uih7IQ,1071
|
|
4
4
|
openapi_client/cyberdesk_cloud_client/__init__.py,sha256=r_uVkNUL-SOK8j7-KiGMIKdinES5X8K1Q250ySX2F-A,158
|
|
5
5
|
openapi_client/cyberdesk_cloud_client/client.py,sha256=o_mdLqyBCQstu5tS1WZFwqIEbGwkvWQ7eQjuCJw_5VY,12419
|
|
6
6
|
openapi_client/cyberdesk_cloud_client/errors.py,sha256=gO8GBmKqmSNgAg-E5oT-oOyxztvp7V_6XG7OUTT15q0,546
|
|
@@ -172,7 +172,7 @@ openapi_client/cyberdesk_cloud_client/models/trajectory_response_trajectory_data
|
|
|
172
172
|
openapi_client/cyberdesk_cloud_client/models/trajectory_update.py,sha256=EF-O37EgyVd9qmdMZk7frNFsSdiiWC7_ZWEoDGMxWnY,4916
|
|
173
173
|
openapi_client/cyberdesk_cloud_client/models/trajectory_update_trajectory_data_type_0_item.py,sha256=3Zt8-nV3ZHjXzL1y5xKQdrHb-7ILG4EjHvtA4xabde4,1355
|
|
174
174
|
openapi_client/cyberdesk_cloud_client/models/validation_error.py,sha256=ZlK9hbhWr4zSC-dxZh9giERvMiYf9s2k8e1O9Rch_NI,2181
|
|
175
|
-
openapi_client/cyberdesk_cloud_client/models/workflow_chain_create.py,sha256=
|
|
175
|
+
openapi_client/cyberdesk_cloud_client/models/workflow_chain_create.py,sha256=SVFhPy0aNBgWWUJwCBhxUmMHfoJSOohbjgW-0_DYLy0,12580
|
|
176
176
|
openapi_client/cyberdesk_cloud_client/models/workflow_chain_create_shared_inputs_type_0.py,sha256=DMyjLQZDdL4Ys9S04mswimHNeLowXu6HK4rwcy2EdfY,1340
|
|
177
177
|
openapi_client/cyberdesk_cloud_client/models/workflow_chain_create_shared_sensitive_inputs_type_0.py,sha256=v-q9148uzXRexSOpGbXc1hOY_4qwESiHO8Xt2DSBf6M,1388
|
|
178
178
|
openapi_client/cyberdesk_cloud_client/models/workflow_chain_response.py,sha256=mw3uh4xWu0ATK44f2Qa2xd_H0rWORBnIBERHqrw4gc4,2086
|
|
@@ -180,7 +180,7 @@ openapi_client/cyberdesk_cloud_client/models/workflow_create.py,sha256=d0bfNbNBF
|
|
|
180
180
|
openapi_client/cyberdesk_cloud_client/models/workflow_response.py,sha256=k48mouJ6Dcisz2vyM7Rb_cbjU66JudGVPsq4UC7grHA,8977
|
|
181
181
|
openapi_client/cyberdesk_cloud_client/models/workflow_response_old_versions_type_0_item.py,sha256=W9AxxlBlN3rUwLDcoUx5H7MUiYA9UztfX9iEpNGlgAs,1340
|
|
182
182
|
openapi_client/cyberdesk_cloud_client/models/workflow_update.py,sha256=TG2jEitXixS2thtz7lTxTZaE0RBVSWd-apVxWxsvnrg,5333
|
|
183
|
-
cyberdesk-2.1.
|
|
184
|
-
cyberdesk-2.1.
|
|
185
|
-
cyberdesk-2.1.
|
|
186
|
-
cyberdesk-2.1.
|
|
183
|
+
cyberdesk-2.1.7.dist-info/METADATA,sha256=Q1TU_4vukC8nu4CwDkrVrmCDXQ-R7BppMYFRkGWOic4,6791
|
|
184
|
+
cyberdesk-2.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
185
|
+
cyberdesk-2.1.7.dist-info/top_level.txt,sha256=qTYHZHVHh3VClNPQsiFFA8p8tmJgFGhq9G1COd-pX_A,25
|
|
186
|
+
cyberdesk-2.1.7.dist-info/RECORD,,
|
|
@@ -30,7 +30,8 @@ class WorkflowChainCreate:
|
|
|
30
30
|
shared_file_inputs (Union[None, Unset, list['FileInput']]):
|
|
31
31
|
keep_session_after_completion (Union[None, Unset, bool]): Default: False.
|
|
32
32
|
machine_id (Union[None, UUID, Unset]):
|
|
33
|
-
|
|
33
|
+
pool_ids (Union[None, Unset, list[UUID]]): Pool IDs to filter available machines when starting a new session.
|
|
34
|
+
Machine must belong to ALL of these pools (intersection). Ignored when machine_id is provided.
|
|
34
35
|
session_id (Union[None, UUID, Unset]):
|
|
35
36
|
"""
|
|
36
37
|
|
|
@@ -40,7 +41,7 @@ class WorkflowChainCreate:
|
|
|
40
41
|
shared_file_inputs: Union[None, Unset, list["FileInput"]] = UNSET
|
|
41
42
|
keep_session_after_completion: Union[None, Unset, bool] = False
|
|
42
43
|
machine_id: Union[None, UUID, Unset] = UNSET
|
|
43
|
-
|
|
44
|
+
pool_ids: Union[None, Unset, list[UUID]] = UNSET
|
|
44
45
|
session_id: Union[None, UUID, Unset] = UNSET
|
|
45
46
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
46
47
|
|
|
@@ -97,13 +98,17 @@ class WorkflowChainCreate:
|
|
|
97
98
|
else:
|
|
98
99
|
machine_id = self.machine_id
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
if isinstance(self.
|
|
102
|
-
|
|
103
|
-
elif isinstance(self.
|
|
104
|
-
|
|
101
|
+
pool_ids: Union[None, Unset, list[str]]
|
|
102
|
+
if isinstance(self.pool_ids, Unset):
|
|
103
|
+
pool_ids = UNSET
|
|
104
|
+
elif isinstance(self.pool_ids, list):
|
|
105
|
+
pool_ids = []
|
|
106
|
+
for pool_ids_type_0_item_data in self.pool_ids:
|
|
107
|
+
pool_ids_type_0_item = str(pool_ids_type_0_item_data)
|
|
108
|
+
pool_ids.append(pool_ids_type_0_item)
|
|
109
|
+
|
|
105
110
|
else:
|
|
106
|
-
|
|
111
|
+
pool_ids = self.pool_ids
|
|
107
112
|
|
|
108
113
|
session_id: Union[None, Unset, str]
|
|
109
114
|
if isinstance(self.session_id, Unset):
|
|
@@ -130,8 +135,8 @@ class WorkflowChainCreate:
|
|
|
130
135
|
field_dict["keep_session_after_completion"] = keep_session_after_completion
|
|
131
136
|
if machine_id is not UNSET:
|
|
132
137
|
field_dict["machine_id"] = machine_id
|
|
133
|
-
if
|
|
134
|
-
field_dict["
|
|
138
|
+
if pool_ids is not UNSET:
|
|
139
|
+
field_dict["pool_ids"] = pool_ids
|
|
135
140
|
if session_id is not UNSET:
|
|
136
141
|
field_dict["session_id"] = session_id
|
|
137
142
|
|
|
@@ -240,22 +245,27 @@ class WorkflowChainCreate:
|
|
|
240
245
|
|
|
241
246
|
machine_id = _parse_machine_id(d.pop("machine_id", UNSET))
|
|
242
247
|
|
|
243
|
-
def
|
|
248
|
+
def _parse_pool_ids(data: object) -> Union[None, Unset, list[UUID]]:
|
|
244
249
|
if data is None:
|
|
245
250
|
return data
|
|
246
251
|
if isinstance(data, Unset):
|
|
247
252
|
return data
|
|
248
253
|
try:
|
|
249
|
-
if not isinstance(data,
|
|
254
|
+
if not isinstance(data, list):
|
|
250
255
|
raise TypeError()
|
|
251
|
-
|
|
256
|
+
pool_ids_type_0 = []
|
|
257
|
+
_pool_ids_type_0 = data
|
|
258
|
+
for pool_ids_type_0_item_data in _pool_ids_type_0:
|
|
259
|
+
pool_ids_type_0_item = UUID(pool_ids_type_0_item_data)
|
|
252
260
|
|
|
253
|
-
|
|
261
|
+
pool_ids_type_0.append(pool_ids_type_0_item)
|
|
262
|
+
|
|
263
|
+
return pool_ids_type_0
|
|
254
264
|
except: # noqa: E722
|
|
255
265
|
pass
|
|
256
|
-
return cast(Union[None,
|
|
266
|
+
return cast(Union[None, Unset, list[UUID]], data)
|
|
257
267
|
|
|
258
|
-
|
|
268
|
+
pool_ids = _parse_pool_ids(d.pop("pool_ids", UNSET))
|
|
259
269
|
|
|
260
270
|
def _parse_session_id(data: object) -> Union[None, UUID, Unset]:
|
|
261
271
|
if data is None:
|
|
@@ -281,7 +291,7 @@ class WorkflowChainCreate:
|
|
|
281
291
|
shared_file_inputs=shared_file_inputs,
|
|
282
292
|
keep_session_after_completion=keep_session_after_completion,
|
|
283
293
|
machine_id=machine_id,
|
|
284
|
-
|
|
294
|
+
pool_ids=pool_ids,
|
|
285
295
|
session_id=session_id,
|
|
286
296
|
)
|
|
287
297
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|