Project

Profile

Help

Feature #6316

open

Make PyXslt30Processor and pysaxonProcessor serializable/pickleable

Added by Youssef Bettayeb 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Python API
Start date:
2024-01-11
Due date:
% Done:

0%

Estimated time:
Found in version:
Fixed in version:
Platforms:

Description

Hello, I am working with Saxonche in a databricks/pyspark environment and when it comes to applying transformations to XMLs using saxonche, it is not making use of the parralel processing capabilities because the PyXslt30Processor are not "serializable" and thus it's impossible to use UDF etc to mass transform XMLs (i have multiple XMLs and one single XSLT to apply to all of them) The error I am getting when doing so is : Python process TypeError: no default reduce due to non-trivial cinit

would making those objects serializable possible ?

Thanks a lot for your time

Please register to edit this issue

Also available in: Atom PDF