We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6f87f commit 56d129fCopy full SHA for 56d129f
arango/collection.py
@@ -1986,10 +1986,11 @@ def import_bulk(
1986
:param sync: Block until operation is synchronized to disk.
1987
:type sync: bool | None
1988
:param batch_size: Max number of documents to import at once. If
1989
- unspecified, will import all documents at once.
+ unspecified, will import all documents at once. Note that the
1990
+ output type changes to list[dict] if **batch_size** is specified.
1991
:type batch_size: int | None
1992
:return: Result of the bulk import.
- :rtype: dict
1993
+ :rtype: dict | list[dict]
1994
:raise arango.exceptions.DocumentInsertError: If import fails.
1995
"""
1996
documents = [self._ensure_key_from_id(doc) for doc in documents]
0 commit comments