You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the story with flatten_json on Python 3.x? You probably already know that Python 2.x will not be supported much longer. I'm asking mostly because caniusepython3 identified flatten_json as one of the projects that need to be looked at.
If the compatibility is currently unknown, is there a test suite I can run with a Python 3.x interpreter to see how things look?
Thanks!
The text was updated successfully, but these errors were encountered:
@dstromberg@cugu I do have issues when calling flatten in python3:
flattened = flatten(nested_dict)
File "env/lib/python3.7/site-packages/flatten_json/__init__.py", line 118, in flatten
_flatten(nested_dict, None)
File "env/lib/python3.7/site-packages/flatten_json/__init__.py", line 104, in _flatten
replace_separators=replace_separators))
File "env/lib/python3.7/site-packages/flatten_json/__init__.py", line 92, in _flatten
if not object_:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Hi.
What's the story with flatten_json on Python 3.x? You probably already know that Python 2.x will not be supported much longer. I'm asking mostly because caniusepython3 identified flatten_json as one of the projects that need to be looked at.
If the compatibility is currently unknown, is there a test suite I can run with a Python 3.x interpreter to see how things look?
Thanks!
The text was updated successfully, but these errors were encountered: