Skip to content

Commit 5c1362f

Browse files
author
David Noble
committed
Template corrections
Signed-off-by: David Noble <[email protected]>
1 parent 4426d05 commit 5c1362f

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

examples/searchcommands_app/bin/simulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
dispatch, GeneratingCommand, Configuration, Option, validators
2424

2525

26-
@Configuration(requires_srinfo=True)
26+
@Configuration()
2727
class SimulateCommand(GeneratingCommand):
2828
""" Generates a sequence of events drawn from a CSV file using repeated
2929
random sampling

examples/searchcommands_template/bin/generate.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class %(command.title())Command(GeneratingCommand):
3131
%(description)
3232
3333
"""
34-
@Configuration()
3534
def generate(self):
3635
# Put your event code here
3736
pass

examples/searchcommands_template/bin/report.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def map(self, events):
3838
# if you have no need for a streaming preop
3939
pass
4040

41-
@Configuration()
4241
def reduce(self, events):
4342
# Put your reporting implementation
4443
pass

examples/searchcommands_template/bin/stream.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class %(command.title())Command(StreamingCommand):
3232
%(description)
3333
3434
"""
35-
@Configuration()
3635
def stream(self, events):
3736
# Put your event transformation code here
3837
pass

0 commit comments

Comments
 (0)