-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job results to be pass across pipeline #7
Comments
@jfunez: You can do that now too, with python queue (https://docs.python.org/3.6/library/queue.html) . Queues in python are thread-safe and so you can push things into queue from one thread and pull from another thread and in this way you can achieve communication between threads. Does this answer your question or did you have anything else in mind? |
@csurfer not exactly what I have in mind... Maybe this example could help to understand: In a simple pipeline with three jobs:
I know it could be possible to achieve it with a queue as you said, but maybe the Job could return an iterator/generator that would be passed to the next Job in the pipeline, the the later could make a decision without having all the data in a single "global" queue. you know HTH |
@jfunez I love pyfunctional for working exactly that way. seq(generator).map(...).map(...)... |
Hi @ndemou |
Hi, one thing I want to see in this awesome lib is the ability to pass data or job results across the pipeline.
As wikipedia stands as a definition of pipeline is:
Maybe I could help with this feature if you agree...
The text was updated successfully, but these errors were encountered: