Skip to content
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

import_worklow with raw xml.etree.ElementTree.tostring input #175

Open
dnicolleau opened this issue Jan 22, 2024 · 0 comments
Open

import_worklow with raw xml.etree.ElementTree.tostring input #175

dnicolleau opened this issue Jan 22, 2024 · 0 comments

Comments

@dnicolleau
Copy link

Hello,
into workflow.py , the workflow_xml parameter of import_workflow method need to be a str since SP30 (rev 9fe1e32 ) instead of basestring in the past. It is an issue if you use the result of xml.etree.ElementTree.tostring as workflow definition because you must use UTF-8 encoding for kept local language chars.
It is possible to use a temporary file with this method because this file is read with UTF-8 encoding but it is more practical if it is possible to directly use XML data as argument
Is it possible to accept again some UTF-8 for workflow_xml ?
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant