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 d44c2af commit e934bc8Copy full SHA for e934bc8
examples/searchcommands_template/bin/stream.py
@@ -20,6 +20,7 @@ class %(command.title())Command(StreamingCommand):
20
"""
21
def stream(self, events):
22
# Put your event transformation code here
23
- pass
+ for event in events:
24
+ yield event
25
26
dispatch(%(command.title())Command, sys.argv, sys.stdin, sys.stdout, __name__)
0 commit comments