When trying to use the function Collections.bulkImport_json to upload a JSON structure built from pytest-json-report, I continually receive
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.8/site-packages/pyArango/collection.py", line 777, in bulkImport_json
TypeError: string indices must be integers
Why is this? It matters now how I attempt to reformat the JSON data, I still see this error. The JSON itself is properly formatted because the following works just fine:
import json
data = json.load(open('/path/to/json'))
When trying to use the function
Collections.bulkImport_json
to upload a JSON structure built from pytest-json-report, I continually receiveWhy is this? It matters now how I attempt to reformat the JSON data, I still see this error. The JSON itself is properly formatted because the following works just fine: