opentf-toolkit-nightly 0.57.0.dev1122__py3-none-any.whl → 0.57.0.dev1129__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.
- opentf/toolkit/__init__.py +18 -4
- {opentf_toolkit_nightly-0.57.0.dev1122.dist-info → opentf_toolkit_nightly-0.57.0.dev1129.dist-info}/METADATA +1 -1
- {opentf_toolkit_nightly-0.57.0.dev1122.dist-info → opentf_toolkit_nightly-0.57.0.dev1129.dist-info}/RECORD +6 -6
- {opentf_toolkit_nightly-0.57.0.dev1122.dist-info → opentf_toolkit_nightly-0.57.0.dev1129.dist-info}/LICENSE +0 -0
- {opentf_toolkit_nightly-0.57.0.dev1122.dist-info → opentf_toolkit_nightly-0.57.0.dev1129.dist-info}/WHEEL +0 -0
- {opentf_toolkit_nightly-0.57.0.dev1122.dist-info → opentf_toolkit_nightly-0.57.0.dev1129.dist-info}/top_level.txt +0 -0
opentf/toolkit/__init__.py
CHANGED
|
@@ -18,6 +18,7 @@ from typing import Any, Callable, Dict, Optional, Tuple
|
|
|
18
18
|
|
|
19
19
|
import os
|
|
20
20
|
import threading
|
|
21
|
+
import sys
|
|
21
22
|
|
|
22
23
|
from collections import defaultdict
|
|
23
24
|
from time import sleep
|
|
@@ -478,10 +479,23 @@ def _subscribe(
|
|
|
478
479
|
manifest.get('inputs', {}),
|
|
479
480
|
manifest.get('additionalInputs'),
|
|
480
481
|
)
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
482
|
+
try:
|
|
483
|
+
context[OUTPUTS_KEY][(cat_prefix, cat, cat_version)] = {
|
|
484
|
+
k: v['value'] if isinstance(v, dict) else v
|
|
485
|
+
for k, v in manifest.get('outputs', {}).items()
|
|
486
|
+
}
|
|
487
|
+
except KeyError as err:
|
|
488
|
+
plugin.logger.error(
|
|
489
|
+
"Invalid descriptor 'outputs' section, could not find key %s in: %s.",
|
|
490
|
+
err,
|
|
491
|
+
manifest.get('outputs', {}),
|
|
492
|
+
)
|
|
493
|
+
sys.exit(2)
|
|
494
|
+
except Exception as err:
|
|
495
|
+
plugin.logger.error(
|
|
496
|
+
"Invalid descriptor 'outputs' section, got %s while parsing outputs.", err
|
|
497
|
+
)
|
|
498
|
+
sys.exit(2)
|
|
485
499
|
return subscribe(kind=kind, target='inbox', app=plugin, labels=labels)
|
|
486
500
|
|
|
487
501
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opentf-toolkit-nightly
|
|
3
|
-
Version: 0.57.0.
|
|
3
|
+
Version: 0.57.0.dev1129
|
|
4
4
|
Summary: OpenTestFactory Orchestrator Toolkit
|
|
5
5
|
Home-page: https://gitlab.com/henixdevelopment/open-source/opentestfactory/python-toolkit
|
|
6
6
|
Author: Martin Lafaix
|
|
@@ -53,11 +53,11 @@ opentf/schemas/opentestfactory.org/v1beta1/Workflow.json,sha256=QZ8mM9PhzsI9gTmw
|
|
|
53
53
|
opentf/schemas/opentestfactory.org/v1beta2/ServiceConfig.json,sha256=rEvK2YWL5lG94_qYgR_GnLWNsaQhaQ-2kuZdWJr5NnY,3517
|
|
54
54
|
opentf/scripts/launch_java_service.sh,sha256=S0jAaCuv2sZy0Gf2NGBuPX-eD531rcM-b0fNyhmzSjw,2423
|
|
55
55
|
opentf/scripts/startup.py,sha256=Da2zo93pBWbdRmj-wgekgLcF94rpNc3ZkbvR8R0w8XY,21279
|
|
56
|
-
opentf/toolkit/__init__.py,sha256=
|
|
56
|
+
opentf/toolkit/__init__.py,sha256=mYeJPZ92ulbTBItqEsZgF4nnuRh6G19QPY3Jxc92ifc,23028
|
|
57
57
|
opentf/toolkit/channels.py,sha256=6xcVKHUK2FdyVKIQmPQbakngfVuQDzCcD_lInOdKpro,17171
|
|
58
58
|
opentf/toolkit/core.py,sha256=6nud1vqcfjs9swZu_Z-rbvdbejtrlSjOd8eZXIF0ChE,9795
|
|
59
|
-
opentf_toolkit_nightly-0.57.0.
|
|
60
|
-
opentf_toolkit_nightly-0.57.0.
|
|
61
|
-
opentf_toolkit_nightly-0.57.0.
|
|
62
|
-
opentf_toolkit_nightly-0.57.0.
|
|
63
|
-
opentf_toolkit_nightly-0.57.0.
|
|
59
|
+
opentf_toolkit_nightly-0.57.0.dev1129.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
60
|
+
opentf_toolkit_nightly-0.57.0.dev1129.dist-info/METADATA,sha256=tmXgnoeS1Ql8EdjnWk8L0EehqXWtMJHZWFtO0GgJIqk,1946
|
|
61
|
+
opentf_toolkit_nightly-0.57.0.dev1129.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
|
62
|
+
opentf_toolkit_nightly-0.57.0.dev1129.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
|
|
63
|
+
opentf_toolkit_nightly-0.57.0.dev1129.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|