Skip to content

Commit 4fd2619

Browse files
author
Alan Christie
committed
refactor: link-glob is now instance-link-glob
1 parent 646128f commit 4fd2619

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/workflow-definitions/simple-python-split-combine.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ steps:
5757
variable: outputFile
5858
- variable: inputDirPrefix
5959
from-predefined:
60-
variable: link-glob
60+
variable: instance-link-glob
6161
- variable: outputFile
6262
to-project:

workflow/workflow_engine.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(
8383
*,
8484
wapi_adapter: WorkflowAPIAdapter,
8585
instance_launcher: InstanceLauncher,
86-
link_glob: str = ".instance-*",
86+
instance_link_glob: str = ".instance-*",
8787
):
8888
"""Initialiser, given a Workflow API adapter, Instance laucnher,
8989
and a step (directory) link 'glob' (a convenient directory glob to
@@ -92,9 +92,11 @@ def __init__(
9292
# Keep the dependent objects
9393
self._wapi_adapter: WorkflowAPIAdapter = wapi_adapter
9494
self._instance_launcher: InstanceLauncher = instance_launcher
95-
self._link_glob: str = link_glob
95+
self._instance_link_glob: str = instance_link_glob
9696

97-
self._predefined_variables: dict[str, Any] = {"link-glob": link_glob}
97+
self._predefined_variables: dict[str, Any] = {
98+
"instance-link-glob": instance_link_glob
99+
}
98100

99101
def handle_message(self, msg: Message) -> None:
100102
"""Expect Workflow and Pod messages.

0 commit comments

Comments
 (0)