@@ -48,6 +48,10 @@ class LaunchParameters:
48
48
# This cannot be less than 1 and must be grater than any value of
49
49
# 'step_replication_number' that will be used fo rthe same step.
50
50
total_number_of_replicas : int = 1
51
+ # A set of dependent (prior step) instances that are expected to be hard-linked
52
+ # into the instance directory the launcher will create. These are required
53
+ # so that the step can access the dependent step's files.
54
+ dependent_instances : set [str ] | None = None
51
55
# The application ID (a custom resource name)
52
56
# used to identify the 'type' of Instance to create.
53
57
# For DM Jobs this will be 'datamanagerjobs.squonk.it'
@@ -185,20 +189,24 @@ def get_running_steps(
185
189
def get_status_of_all_step_instances_by_name (
186
190
self , * , name : str , running_workflow_id : str
187
191
) -> tuple [dict [str , Any ], int ]:
188
- """Get a list of step execution statuses for the named step."""
192
+ """Get a list of step execution statuses for the named step.
193
+ This includes their step UUID (and instance UUID if available).
194
+ """
189
195
# Should return:
190
196
# {
191
197
# "count": 2,
192
198
# "status": [
193
199
# {
194
200
# "done": True,
195
201
# "success": True,
196
- # "running_workflow_step_id": "step-0001"
202
+ # "running_workflow_step_id": "step-0001",
203
+ # "instance_id": "instance-0001"
197
204
# },
198
205
# {
199
206
# "done": False,
200
207
# "success": False,
201
- # "running_workflow_step_id": "step-0002"
208
+ # "running_workflow_step_id": "step-0002",
209
+ # "instance_id": "instance-0002"
202
210
# }
203
211
# ]
204
212
# }
0 commit comments