Skip to content

Commit 56d129f

Browse files
committed
address comment pt2
#207 (comment)
1 parent dc6f87f commit 56d129f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arango/collection.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,10 +1986,11 @@ def import_bulk(
19861986
:param sync: Block until operation is synchronized to disk.
19871987
:type sync: bool | None
19881988
:param batch_size: Max number of documents to import at once. If
1989-
unspecified, will import all documents at once.
1989+
unspecified, will import all documents at once. Note that the
1990+
output type changes to list[dict] if **batch_size** is specified.
19901991
:type batch_size: int | None
19911992
:return: Result of the bulk import.
1992-
:rtype: dict
1993+
:rtype: dict | list[dict]
19931994
:raise arango.exceptions.DocumentInsertError: If import fails.
19941995
"""
19951996
documents = [self._ensure_key_from_id(doc) for doc in documents]

0 commit comments

Comments
 (0)