Skip to content
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 docs/utilities/batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ class MyPartialProcessor(BasePartialProcessor):
def _clean(self):
# It's called once, *after* closing processing all records (closing the context manager)
# Here we're sending, at once, all successful messages to a ddb table
with ddb_table.batch_writer() as batch:
with self.ddb_table.batch_writer() as batch:
for result in self.success_messages:
batch.put_item(Item=result)

Expand Down