wizata-dsapi 1.3.6__py3-none-any.whl → 1.3.8__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.
- wizata_dsapi/execution.py +11 -1
- wizata_dsapi/version.py +1 -1
- {wizata_dsapi-1.3.6.dist-info → wizata_dsapi-1.3.8.dist-info}/METADATA +2 -2
- {wizata_dsapi-1.3.6.dist-info → wizata_dsapi-1.3.8.dist-info}/RECORD +7 -7
- {wizata_dsapi-1.3.6.dist-info → wizata_dsapi-1.3.8.dist-info}/WHEEL +0 -0
- {wizata_dsapi-1.3.6.dist-info → wizata_dsapi-1.3.8.dist-info}/licenses/LICENSE.txt +0 -0
- {wizata_dsapi-1.3.6.dist-info → wizata_dsapi-1.3.8.dist-info}/top_level.txt +0 -0
wizata_dsapi/execution.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import uuid
|
|
3
|
+
import sys
|
|
3
4
|
from enum import Enum
|
|
4
5
|
|
|
5
6
|
from .api_dto import ApiDto
|
|
@@ -147,6 +148,7 @@ class Execution(ApiDto):
|
|
|
147
148
|
:ivar uuid.UUID twin_id: twin id registered on the template to run pipeline on.
|
|
148
149
|
:ivar int waiting_time: duration of the waiting time in the queue.
|
|
149
150
|
:ivar list warnings: list of error and/or warning messages.
|
|
151
|
+
:ivar version str: python version (major.minor) to use as target on runners, by default use current auto-detected version.
|
|
150
152
|
"""
|
|
151
153
|
|
|
152
154
|
@classmethod
|
|
@@ -169,7 +171,8 @@ class Execution(ApiDto):
|
|
|
169
171
|
experiment_id: uuid.UUID = None,
|
|
170
172
|
twin_id: uuid.UUID = None,
|
|
171
173
|
template_id: uuid.UUID = None,
|
|
172
|
-
trigger_id: uuid.UUID = None
|
|
174
|
+
trigger_id: uuid.UUID = None,
|
|
175
|
+
version: str = None):
|
|
173
176
|
|
|
174
177
|
self.execution_id = execution_id
|
|
175
178
|
|
|
@@ -199,6 +202,9 @@ class Execution(ApiDto):
|
|
|
199
202
|
self.waiting_time = None
|
|
200
203
|
self.warnings = None
|
|
201
204
|
self.edge_device_id = None
|
|
205
|
+
self.version = version
|
|
206
|
+
if version is None:
|
|
207
|
+
self.version = f'{sys.version_info.major}.{sys.version_info.minor}'
|
|
202
208
|
|
|
203
209
|
# Only accessible between Front-End and DS API (not backend)
|
|
204
210
|
if properties is None:
|
|
@@ -265,6 +271,8 @@ class Execution(ApiDto):
|
|
|
265
271
|
obj["warnings"] = self.warnings
|
|
266
272
|
if self.status is not None and isinstance(self.status, ExecutionStatus):
|
|
267
273
|
obj["status"] = self.status.value
|
|
274
|
+
if self.version is not None:
|
|
275
|
+
obj["version"] = self.version
|
|
268
276
|
if self.edge_device_id is not None:
|
|
269
277
|
obj["edgeDeviceId"] = self.edge_device_id
|
|
270
278
|
|
|
@@ -319,6 +327,8 @@ class Execution(ApiDto):
|
|
|
319
327
|
self.warnings = obj["warnings"]
|
|
320
328
|
if "status" in obj.keys():
|
|
321
329
|
self.status = ExecutionStatus(str(obj["status"]))
|
|
330
|
+
if "version" in obj.keys() and obj["version"] is not None:
|
|
331
|
+
self.version = obj["version"]
|
|
322
332
|
if "edgeDeviceId" in obj.keys() and obj["edgeDeviceId"] is not None:
|
|
323
333
|
self.edge_device_id = obj["edgeDeviceId"]
|
|
324
334
|
|
wizata_dsapi/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.3.
|
|
1
|
+
__version__ = "1.3.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wizata_dsapi
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.8
|
|
4
4
|
Summary: Wizata Data Science Toolkit
|
|
5
5
|
Author: Wizata S.A.
|
|
6
6
|
Author-email: info@wizata.com
|
|
@@ -46,7 +46,7 @@ Requires-Dist: tensorflow>=2.15.0; ((sys_platform != "darwin" or platform_machin
|
|
|
46
46
|
Requires-Dist: tensorflow-macos>=2.15.0; (sys_platform == "darwin" and platform_machine == "arm64" and python_version < "3.12") and extra == "all"
|
|
47
47
|
Requires-Dist: tensorflow>=2.20.0; python_version >= "3.12" and extra == "all"
|
|
48
48
|
Requires-Dist: keras==2.15.0; python_version < "3.12" and extra == "all"
|
|
49
|
-
Requires-Dist: keras>=3.11.3; python_version
|
|
49
|
+
Requires-Dist: keras>=3.11.3; python_version >= "3.12" and extra == "all"
|
|
50
50
|
Requires-Dist: tensorflow_probability==0.15.0; python_version < "3.12" and extra == "all"
|
|
51
51
|
Requires-Dist: tensorflow_probability>=0.25.0; python_version >= "3.12" and extra == "all"
|
|
52
52
|
Requires-Dist: scikit-learn==1.2.2; python_version < "3.12" and extra == "all"
|
|
@@ -11,7 +11,7 @@ wizata_dsapi/datastore.py,sha256=BSHZmCSJ679boBA1eCkaWGJCy1CUeipKKGt2jDHzdVo,266
|
|
|
11
11
|
wizata_dsapi/ds_dataframe.py,sha256=Sk2JRUuTRJzko3HosJnbK34STpgSJUlqxLq8w_E5VM4,2089
|
|
12
12
|
wizata_dsapi/dsapi_json_encoder.py,sha256=EhY1NA3-UQJ3HFYYbe7bvXb8NuhOvHVMJvXyGvX_T3k,2772
|
|
13
13
|
wizata_dsapi/evaluation.py,sha256=kB61SD66uRBBbKqiES7XZERn77bwhacbyufneSD4s8c,2222
|
|
14
|
-
wizata_dsapi/execution.py,sha256=
|
|
14
|
+
wizata_dsapi/execution.py,sha256=JuU8qZDcUZxtCvQwwvM_luwHi18GQ2jbBSxAjc2cSlM,14148
|
|
15
15
|
wizata_dsapi/experiment.py,sha256=QYQ1CJ-MTWsXq08xYbm5sAp95dRxbPOmGDgaAOoBMDQ,4631
|
|
16
16
|
wizata_dsapi/group_system.py,sha256=6rUKe0_J3YWACysyBlzuw_TEpKNXgLOMxhpWsNxOzwY,1708
|
|
17
17
|
wizata_dsapi/ilogger.py,sha256=iYnID-Z-qrYhie26C43404aIuU4_tHSKXbDeQIdo82Q,807
|
|
@@ -31,7 +31,7 @@ wizata_dsapi/template.py,sha256=wtCRKKk3PchH4RrNgNYlEF_9C6bzZwKIeLyEvgv6Fdo,1370
|
|
|
31
31
|
wizata_dsapi/trigger.py,sha256=w3BZYP-L3SUwvaT0oCTanh_Ewn57peZvlt7vxzHv9J8,5129
|
|
32
32
|
wizata_dsapi/twin.py,sha256=S0DUzQf1smZXZTdXpXZPtkZYCfKIhw53EecCnsl9i4Q,11017
|
|
33
33
|
wizata_dsapi/twinregistration.py,sha256=Mi6-YuwroiEXc0c1hgrOaphh4hNVoHupxOnXedVtJtE,13377
|
|
34
|
-
wizata_dsapi/version.py,sha256=
|
|
34
|
+
wizata_dsapi/version.py,sha256=47xEhOdVR5Y8-pZH8aVP6Z2UhhY8jGWTQ-rJHt5fIeU,22
|
|
35
35
|
wizata_dsapi/wizard_function.py,sha256=RbM7W7Gf-6Rhp_1dU9DBYkHaciknGAGvuAndhAS_vyo,942
|
|
36
36
|
wizata_dsapi/wizard_request.py,sha256=v6BaqKLKvTWmUSo0_gda9FabAQz5x_-GOH1Av50GzFo,3762
|
|
37
37
|
wizata_dsapi/wizata_dsapi_client.py,sha256=kos_8j47CBXiy6y6b_H2yDUe3aWh76diEmWjCisYKkY,78662
|
|
@@ -42,8 +42,8 @@ wizata_dsapi/plots/__init__.py,sha256=qgnSFqrjOPur-807M8uh5awIfjM1ZHXUXcAqHc-r2l
|
|
|
42
42
|
wizata_dsapi/plots/common.py,sha256=jdPsJqLHBwSKc6dX83BSGPqSRxzIVNHSYO5yI_8sjGk,6568
|
|
43
43
|
wizata_dsapi/scripts/__init__.py,sha256=hAxiETSQf0qOHde1si1tEAJU48seqEgHrchCzS2-LvQ,80
|
|
44
44
|
wizata_dsapi/scripts/common.py,sha256=efwq-Rd0lvYljIs3gSFz9izogBD7asOU2cTK-IvHTkM,4244
|
|
45
|
-
wizata_dsapi-1.3.
|
|
46
|
-
wizata_dsapi-1.3.
|
|
47
|
-
wizata_dsapi-1.3.
|
|
48
|
-
wizata_dsapi-1.3.
|
|
49
|
-
wizata_dsapi-1.3.
|
|
45
|
+
wizata_dsapi-1.3.8.dist-info/licenses/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
46
|
+
wizata_dsapi-1.3.8.dist-info/METADATA,sha256=YQ8JouHbB2PD84lnasHf8sGYWbVZLoFeeCpVPCOSkQk,5172
|
|
47
|
+
wizata_dsapi-1.3.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
48
|
+
wizata_dsapi-1.3.8.dist-info/top_level.txt,sha256=-OeTJbEnh5DuWyTOHtvw0Dw3LRg3G27TNS6W4ZtfwPs,13
|
|
49
|
+
wizata_dsapi-1.3.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|