News for hackers. Stuff that matters.
Re:Show HN: Pyper – Concurrent Python Made Simple by me-vs-cat on Thursday January 16, 2025 @07:11PM (#42732599)
This style looks pretty good to me:

    pipeline = task(...)
    pipeline |= task(...)
So does this style:

    steps = [task(...), task(...)]
    pipeline = functools.reduce(operator.or_, steps)
But it appears you can just change "task" to "Task" and then:

    pipeline = pyper.Pipeline([Task(...), Task(...)])

There are no comments on this comment yet.