https://prefect.io logo
#prefect-community
Title
# prefect-community
i

Iain Dillingham

07/16/2020, 11:27 AM
Hi everyone. I have a mapped task that returns a list of objects; actually it returns a list of lists of objects, because it's mapped. I'd like to flatten the list of lists, before passing the list of objects to another task. I have written my own flatten task, but was wondering whether I'd missed something obvious: an idiom, a built-in function, etc. I'd appreciate the community's thoughts 🙂
j

josh

07/16/2020, 12:14 PM
Perfect timing @Iain Dillingham! There is a PR out for this right now https://github.com/PrefectHQ/prefect/pull/2898
💪🏼 1
i

Iain Dillingham

07/16/2020, 12:51 PM
Amazing! 😆
Thank you!