We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b195c3e commit 91ed3dbCopy full SHA for 91ed3db
docs/examples/manual_commit.rst
@@ -35,8 +35,8 @@ Consumer:
35
await consumer.start()
36
# we want to consume 10 messages from "foobar" topic
37
# and commit after that
38
- for i in range(10):
39
- msg = await (consumer.getone()
+ for _ in range(10):
+ msg = await consumer.getone()
40
await consumer.commit()
41
42
await consumer.stop()
0 commit comments