Expression icon indicating copy to clipboard operation
Expression copied to clipboard

Question: Is there a reason why pipeline is buried so far into the package? from expression.extra.result import pipeline

Open ShravanSunder opened this issue 1 year ago • 2 comments

pipelines are currently in from expression.extra.result import pipeline

It seems like its a great way to chain results (or options) and i was wondering why its not exposed more easily. It seems to me like a core part of implementing result in the codebase.

ShravanSunder avatar Jul 12 '24 11:07 ShravanSunder

Hi, it was added there since I was unsure if it should be added as it is in the current form (or not) i.e naming. But I guess we could now move it into the core module. The thing is that it's "container" specific so it needs to be scoped / namespaced e.g expression.result.pipeline since a Result pipeline is different from an Option pipeline.

dbrattli avatar Jul 12 '24 14:07 dbrattli

I guess pipeline is also missing async compatability

ShravanSunder avatar Jul 15 '24 13:07 ShravanSunder