We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7414f89 commit e758bf6Copy full SHA for e758bf6
docs/utilities/batch.md
@@ -921,7 +921,7 @@ class MyPartialProcessor(BasePartialProcessor):
921
def _clean(self):
922
# It's called once, *after* closing processing all records (closing the context manager)
923
# Here we're sending, at once, all successful messages to a ddb table
924
- with ddb_table.batch_writer() as batch:
+ with self.ddb_table.batch_writer() as batch:
925
for result in self.success_messages:
926
batch.put_item(Item=result)
927
0 commit comments