ale
dict
At least one upstream state has an unmappable result.
map
Iterable
0.15.16
Vadym Dytyniak
unmapped
Anna Geller
emre
dict.items()
list(your_dict.values())
import prefect from prefect import task, Flow @task def get_iterable(): sample_dict = dict(a=1, b=2, c=3) return list(sample_dict.values()) # return sample_dict.values() @task def log_output(x): <http://prefect.context.logger.info|prefect.context.logger.info>(x) with Flow("map_dict_test") as flow: iterable_input_from_dict = get_iterable() log_output.map(iterable_input_from_dict) if __name__ == "__main__": flow.run()
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.