Hello everyone, I didn't find it anywhere, but doe...
# ask-community
o
Hello everyone, I didn't find it anywhere, but does the
task.map
keep order ? (Will the list of generated futures have the same order as the mapped over argument ?)
1
Not sure I understand this part:
I will start and take arguments anywhere in the provided list
My opinion is that since
my_task.map([1, 2, 3])
is normally equivalent to `[my_task.submit(i) for i in range(1, 4)]`it should keep the order of output 🤔 (I just want to make sure since it's not mentioned anywhere in the docs)
I'm not talking about order of execution, but the order of resulting prefect futures in relation to mapped over input
t
The order of the output results/futures will be the same as the order of args that the map function is cast across
1