Closed mcproger closed 4 years ago
@Melevir
Not sure.
This approach can lead to god-pipeline, that does everything with all items and returns all you need.
On the other side, current API can be too strict.
This approach can lead to god-pipeline, that does everything with all items and returns all you need.
True. Actually, I can fix my problem with nested dict, like
return {'result': {'test1': 100500, 'test2': 200500}}
Unfortunately, it also can lead to god-pipeline. I will think what we can do to resolve it.
Right now, method
SomePipeline.run
returns the first value from the dict, which is the result of the last pipe. How about returning the full dict?For example:
Now, when I call
Pipeline().run()
it returns only100500
. But I want to get{'test1': 100500, 'test2': 200500}