Matthias
07/17/2020, 2:15 PM@task(checkpoint=False)
def extract_things():
    bar = [1, 2, 3, 4, 5, 6, 7, 8, 9]
    foo = ['a', 'b', 'c']
    data = {
        'bar': bar,
        'foo': foo
    }
    return data
@task(checkpoint=False)
def do_things(data):
    for x in data:
        print(x)
    return None
with Flow(
    "Do it",
) as flow:
    things = extract_things()
    do_things(things['foo'])
    do_things(things['bar'])nicholas
Matthias
07/17/2020, 2:44 PMnicholas
Matthias
07/17/2020, 2:45 PMnicholas
Matthias
07/17/2020, 3:02 PMnicholas
things['foo']things['bar']Constantnicholas
Matthias
07/17/2020, 3:09 PMnicholas
Matthias
07/17/2020, 3:15 PM