Joshua Grant
apply_map
from prefect import apply_map, Flow from mycode import task1, task2, task3, get_org def extract_from_file(file: dict, organization: str): task1_results = task1(file['key']) task2_results = task2(file['another_key']) task3_results = task3(file['yet_another_key'], organization) with Flow('this-flow', ) as this_flow: files = Parameter('files') organization = get_org() flow_file = apply_map( extract_from_file, file=files, organization=unmapped(organization), )
Zanie
for file in files: task1.submit(file["key"]) task2.submit(file["another_key"]) etc...
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.