Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix "consistent" argument to boto.dynamodb2.table.Table.batch_get #2272

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boto/dynamodb2/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ def batch_get(self, keys, consistent=False):
# We pass the keys to the constructor instead, so it can maintain it's
# own internal state as to what keys have been processed.
results = BatchGetResultSet(keys=keys, max_batch_get=self.max_batch_get)
results.to_call(self._batch_get, consistent=False)
results.to_call(self._batch_get, consistent=consistent)
return results

def _batch_get(self, keys, consistent=False):
Expand Down