Will Prefect allow me to access the built in functions of the data type being returned by the Task or does the Task object occlude some of those calls? Specifically for dictionaries, can I do somethin glike this:
Copy code
d_task = task(return some_dict)
m_task = task(lambda x: do_map_stuff(x))
with Flow f as ('flow'):
some_data = d_task()
mapped_result = m_task.map(some_data.values())
k
Kevin Kho
04/29/2021, 6:33 PM
Hi @kevin. No this will not work. You’ll need a helper
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.