ArangoDB-Community / pyArango

Python Driver for ArangoDB with built-in validation
https://pyarango.readthedocs.io/en/latest/
Apache License 2.0
238 stars 90 forks source link

bulk_import not accepting json #203

Open wmullen0 opened 3 years ago

wmullen0 commented 3 years ago

When trying to use the function Collections.bulkImport_json to upload a JSON structure, 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? I am able to upload manually to arangodb with the same json file.