Hey - is there a way in the task `map` to run a c...
# ask-community
j
Hey - is there a way in the task
map
to run a cross product. For example, task_one with inputs [a, b] and [c, d] will run {a,c] [a,d] [b, c] [b,d]
c
Hi John - there is an open feature request to make this a first-class operation here: https://github.com/PrefectHQ/prefect/issues/1986 In the meantime, you would need to create a task which accepts your two list-tasks as inputs, creates the cross product and returns it, then performs a mapping