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 8242858 commit fe4c210Copy full SHA for fe4c210
examples/bank_example/json_version/consumer.py
@@ -21,7 +21,6 @@ def count_transactions(value: dict, state: State):
21
:param value: message value
22
:param state: instance of State store
23
"""
24
- state = {}
25
total = state.get("total_transactions", 0)
26
total += 1
27
state.set("total_transactions", total)
0 commit comments