Skip to content

Commit

Permalink
Fix inserted_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jlubken committed Jun 2, 2020
1 parent c6e95a8 commit 44beefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsdk/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def insert_many(collection: Collection, docs: Sequence[Dict[str, Any]]):
INSERT_MANY,
collection.database.name,
collection.name,
len(result.inserted.ids),
len(result.inserted_ids),
)
return result

Expand Down

0 comments on commit 44beefa

Please sign in to comment.