runnable 0.32.3__py3-none-any.whl → 0.33.0__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.
- extensions/pipeline_executor/argo.py +2 -8
- runnable/sdk.py +11 -0
- {runnable-0.32.3.dist-info → runnable-0.33.0.dist-info}/METADATA +1 -1
- {runnable-0.32.3.dist-info → runnable-0.33.0.dist-info}/RECORD +7 -7
- {runnable-0.32.3.dist-info → runnable-0.33.0.dist-info}/WHEEL +0 -0
- {runnable-0.32.3.dist-info → runnable-0.33.0.dist-info}/entry_points.txt +0 -0
- {runnable-0.32.3.dist-info → runnable-0.33.0.dist-info}/licenses/LICENSE +0 -0
@@ -61,7 +61,7 @@ class SecretEnvVar(BaseModel):
|
|
61
61
|
valueFrom:
|
62
62
|
secretKeyRef:
|
63
63
|
name: my-secret
|
64
|
-
key:
|
64
|
+
key: MYSECRETPASSWORD
|
65
65
|
"""
|
66
66
|
|
67
67
|
environment_variable: str = Field(serialization_alias="name")
|
@@ -70,7 +70,7 @@ class SecretEnvVar(BaseModel):
|
|
70
70
|
|
71
71
|
@computed_field # type: ignore
|
72
72
|
@property
|
73
|
-
def
|
73
|
+
def valueFrom(self) -> dict[str, dict[str, str]]:
|
74
74
|
return {
|
75
75
|
"secretKeyRef": {
|
76
76
|
"name": self.secret_name,
|
@@ -765,12 +765,6 @@ class ArgoExecutor(GenericPipelineExecutor):
|
|
765
765
|
)
|
766
766
|
assert template_of_container.container is not None
|
767
767
|
|
768
|
-
if working_on.node_type == "task":
|
769
|
-
self._expose_secrets_to_task(
|
770
|
-
working_on,
|
771
|
-
container_template=template_of_container.container,
|
772
|
-
)
|
773
|
-
|
774
768
|
self._templates.append(template_of_container)
|
775
769
|
|
776
770
|
case "map" | "parallel":
|
runnable/sdk.py
CHANGED
@@ -760,6 +760,11 @@ class Pipeline(BaseModel):
|
|
760
760
|
logger.setLevel(log_level)
|
761
761
|
|
762
762
|
run_id = utils.generate_run_id(run_id=run_id)
|
763
|
+
|
764
|
+
parameters_file = os.environ.get("RUNNABLE_PARAMETERS_FILE", parameters_file)
|
765
|
+
|
766
|
+
tag = os.environ.get("RUNNABLE_tag", tag)
|
767
|
+
|
763
768
|
configuration_file = os.environ.get(
|
764
769
|
"RUNNABLE_CONFIGURATION_FILE", configuration_file
|
765
770
|
)
|
@@ -904,9 +909,15 @@ class BaseJob(BaseModel):
|
|
904
909
|
logger.setLevel(log_level)
|
905
910
|
|
906
911
|
run_id = utils.generate_run_id(run_id=job_id)
|
912
|
+
|
913
|
+
parameters_file = os.environ.get("RUNNABLE_PARAMETERS_FILE", parameters_file)
|
914
|
+
|
915
|
+
tag = os.environ.get("RUNNABLE_tag", tag)
|
916
|
+
|
907
917
|
configuration_file = os.environ.get(
|
908
918
|
"RUNNABLE_CONFIGURATION_FILE", configuration_file
|
909
919
|
)
|
920
|
+
|
910
921
|
run_context = entrypoints.prepare_configurations(
|
911
922
|
configuration_file=configuration_file,
|
912
923
|
run_id=run_id,
|
@@ -20,7 +20,7 @@ extensions/nodes/torch.py,sha256=64DTjdPNSJ8vfMwUN9h9Ly5g9qj-Bga7LSGrfCAO0BY,938
|
|
20
20
|
extensions/nodes/torch_config.py,sha256=tO3sG2_fj8a6FmPZZllwKVx3WaRr4QmQYcACseg8YXM,2839
|
21
21
|
extensions/pipeline_executor/README.md,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
extensions/pipeline_executor/__init__.py,sha256=wfigTL2T9OHrmE8b2Ydmb8h6hr-oF--Yc2FectC7WaY,24623
|
23
|
-
extensions/pipeline_executor/argo.py,sha256=
|
23
|
+
extensions/pipeline_executor/argo.py,sha256=Xj3rasvJfgdEze_s3ILB77VY92NNk7iO8yT46A-_Y4c,37627
|
24
24
|
extensions/pipeline_executor/local.py,sha256=6oWUJ6b6NvIkpeQJBoCT1hbfX4_6WCB4HzMgHZ4ik1A,1887
|
25
25
|
extensions/pipeline_executor/local_container.py,sha256=3kZ2QCsrq_YjH9dcAz8v05knKShQ_JtbIU-IA_-G538,12724
|
26
26
|
extensions/pipeline_executor/mocked.py,sha256=0sMmypuvstBIv9uQg-WAcPrF3oOFpeEXNi6N8Nzdnl0,5680
|
@@ -56,12 +56,12 @@ runnable/names.py,sha256=vn92Kv9ANROYSZX6Z4z1v_WA3WiEdIYmG6KEStBFZug,8134
|
|
56
56
|
runnable/nodes.py,sha256=QGHMznriEz4AcmntHICBZKrDT6zbc7WD1sV0MgwK10c,16691
|
57
57
|
runnable/parameters.py,sha256=u77CdqqDAbVdzNeBFPNUfGnWPy9-SpBVmwEJ56xmDm8,5289
|
58
58
|
runnable/pickler.py,sha256=ydJ_eti_U1F4l-YacFp7BWm6g5vTn04UXye25S1HVok,2684
|
59
|
-
runnable/sdk.py,sha256=
|
59
|
+
runnable/sdk.py,sha256=xjMEDg1Uovrp0Kw7RR4GAQIJgG9zcIgueqOzQAaO7Bs,35363
|
60
60
|
runnable/secrets.py,sha256=4L_dBFxTgr8r_hHUD6RlZEtqaOHDRsFG5PXO5wlvMI0,2324
|
61
61
|
runnable/tasks.py,sha256=ABRhgiTY8F62pNlqJmVTDjwJwuzp8DqciUEOq1fpt1U,28989
|
62
62
|
runnable/utils.py,sha256=hBr7oGwGL2VgfITlQCTz-a1iwvvf7Mfl-HY8UdENZac,19929
|
63
|
-
runnable-0.
|
64
|
-
runnable-0.
|
65
|
-
runnable-0.
|
66
|
-
runnable-0.
|
67
|
-
runnable-0.
|
63
|
+
runnable-0.33.0.dist-info/METADATA,sha256=3iQtJObHbrpm7YKqul8t3qb-4YTRRU__7AYzFLhWV_g,10168
|
64
|
+
runnable-0.33.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
65
|
+
runnable-0.33.0.dist-info/entry_points.txt,sha256=uWHbbOSj0jlG54tFHw377xKkfVbjWvb_1Y9L_LgjJ0Q,1925
|
66
|
+
runnable-0.33.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
67
|
+
runnable-0.33.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|