According to the docs, | is syntactic sugar for the .pipe method. pipeline = task(get_data, branch=True).pipe( task(step1, workers=20)).pipe( task(step2, workers=20)).pipe( task(step3, workers=20, multiprocess=True))…
Yeah, this seems neatest if you don't like line breaks pipeline = ( task(get_data, branch=True) | task(step1, workers=20) | task(step2, workers=20) | task(step3, workers=20, multiprocess=True) ) Square brackets would…
According to the docs, | is syntactic sugar for the .pipe method. pipeline = task(get_data, branch=True).pipe( task(step1, workers=20)).pipe( task(step2, workers=20)).pipe( task(step3, workers=20, multiprocess=True))…
Yeah, this seems neatest if you don't like line breaks pipeline = ( task(get_data, branch=True) | task(step1, workers=20) | task(step2, workers=20) | task(step3, workers=20, multiprocess=True) ) Square brackets would…