Mike
Mike
Do you have a file called ``pyrfc.py`` in your project root? Is SAPNWRFC_HOME set correctly? What does the following print? ```python import pyrfc import sys import os print(1, os.environ.get('SAPNWRFC_HOME')) print(2,...
@sebastiantaurer seems you are running Python 3.6.8 pyrfc 3.3.1 requires Python >=3.8
If the item would contain the parent's (root) attributes as keys, then this would break if any node have the same name as a parent's attribute. ```python import xmltodict xml...
That option already exists. Here are the params of ``unparse`` and their default values: def unparse(input_dict, output=None, encoding='utf-8', full_document=True, short_empty_elements=False, **kwargs): Simply set ``full_document=False``.
You can specify the encoding in parse(), the default is utf-8 IANA currently lists [250+ character encodings](https://www.iana.org/assignments/character-sets/character-sets.xhtml). Python natively supports a subset of [109 encodings](https://docs.python.org/3/library/codecs.html#standard-encodings) (plus some Python specific encodings)....
Seems you're right, explicitely passing bytes with BOM works just fine: ```python import xmltodict xml = '''123''' xml = xml.encode("utf-8-sig") out = xmltodict.parse(xml) print(out) # {'test': '123'} ``` So maybe...
``xmltodict.parse(xml, dict_constructor=dict)`` is already available since a few years. If it's not working for you, you should state your Python version and your xmltodict version. using ``dict`` instead of ``OrderedDict``...
Insertion-ordered dictionaries are merely a CPython implementation detail in Python 3.6 Starting Python 3.7 this is a guaranteed featured, not just an implementation detail. That's also the reason for checking...
Is this patch/fix still available somewhere? We are currently also encountering issues sometimes when a user has multiple tabs open that connect at the same time for the first time...
AFAIK, you may not distribute the SDK, see this docker container related discussion https://github.com/SAP/PyRFC/issues/194#issuecomment-691325370 ( Someone correct me if I'm wrong. ) So your users would have to somehow install...