cuddly-jelly-27016
03/11/2025, 6:49 AM@workflow
def wf():
strings = ['hello', 'world']
strings1 = ['hello', 'world']
return union.map(my_task, bound_inputs={"s1": "test"})(s=strings, s1=strings1)
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
### Summary by Bito
This PR adds support for bound inputs in ArrayNodeMapTask with input consistency validation and improves input validation. The implementation includes updates to the flytekit core and translator module, implementing checks for key mismatches between 'bound_inputs' and 'bound_inputs_values'. Unit tests were updated to remove try-except blocks for cleaner error detection, enhancing robustness and flexibility in map task handling.
Unit tests added: True
Estimated effort to review (1-5, lower is better): 2
flyteorg/flytekitcuddly-jelly-27016
03/11/2025, 6:49 AMcuddly-jelly-27016
03/12/2025, 5:42 PM