thankful-dinner-90578
03/05/2024, 10:19 PMresults = map_task(task)(data=input_data_iterable).with_overrides(limits=limits_iterable)
where limits_iterable
would be an iterable of resource limits per (mapped) task. I haven’t been able to find out whether this is possible, could only find a discussion here where imho with_overrides
applies the same overrides for all mapped tasks.
I’m actually wondering whether something like this could work:
@dynamic
def workflow():
input_data_iterable = get_inputs()
results = []
for input_data in input_data_iterable:
results.append(task(input_data).with_overrides(**get_overrides(input_data)))
Any help would be appreciated, thanks!tall-lock-23197
input_data
?tall-lock-23197
could only find a discussion here where imhothat's correct.applies the same overrides for all mapped tasks.with_overrides
thankful-dinner-90578
03/06/2024, 2:20 PMinput_data
would just be a generic task
parameter.thankful-dinner-90578
03/06/2024, 2:21 PMtall-lock-23197