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

Commit c432b09

Browse files
committed
Merge pull request #2272 from appneta/fix_ddb2_batch_get_consistent
Fix "consistent" argument to boto.dynamodb2.table.Table.batch_get. Fixes #2272.
2 parents d5ed49f + f601f4d commit c432b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boto/dynamodb2/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ def batch_get(self, keys, consistent=False):
12701270
# We pass the keys to the constructor instead, so it can maintain it's
12711271
# own internal state as to what keys have been processed.
12721272
results = BatchGetResultSet(keys=keys, max_batch_get=self.max_batch_get)
1273-
results.to_call(self._batch_get, consistent=False)
1273+
results.to_call(self._batch_get, consistent=consistent)
12741274
return results
12751275

12761276
def _batch_get(self, keys, consistent=False):

0 commit comments

Comments
 (0)