There was an error while loading. Please reload this page.
1 parent 957fcad commit 66c3804Copy full SHA for 66c3804
elasticsearch/helpers/__init__.py
@@ -55,7 +55,7 @@ def _chunk_actions(actions, chunk_size, max_chunk_bytes, serializer):
55
bulk_actions, bulk_data = [], []
56
size, action_count = 0, 0
57
for action, data in actions:
58
- raw_data, raw_action = action
+ raw_data, raw_action = data, action
59
action = serializer.dumps(action)
60
cur_size = len(action) + 1
61
0 commit comments