Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I want to hold a PyExpr defining some item of interest then use multiprocessing. This tries to pickle your objects.
Describe the solution you'd like
Allow PyExpr to be pickleable.
Describe alternatives you've considered
Use lazy initialization with a factory that returns a pyexpr.
Additional context
A pyexpr can be related to custom registered items. One mitigation for this is to allow setting the global session context, but I'm not sure how this singleton value is managed with python multiprocessing. Additionally, I'm not sure if this means we need to pickle the SessionContext itself.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I want to hold a PyExpr defining some item of interest then use multiprocessing. This tries to pickle your objects.
Describe the solution you'd like
Allow PyExpr to be pickleable.
Describe alternatives you've considered
Use lazy initialization with a factory that returns a pyexpr.
Additional context
A pyexpr can be related to custom registered items. One mitigation for this is to allow setting the global session context, but I'm not sure how this singleton value is managed with python multiprocessing. Additionally, I'm not sure if this means we need to pickle the SessionContext itself.