Commit c20d017d authored by Patrick Godwin's avatar Patrick Godwin

events.py: fix issue with types in argument options

parent 95740885
Pipeline #97941 passed with stages
in 8 minutes and 40 seconds
......@@ -164,13 +164,13 @@ def append_args(parser):
group = parser.add_argument_group("Event processing options")
group.add_argument("--tag", metavar = "string", default = "default",
help = "Sets the name of the tag used. Default = 'default'")
group.add_argument("--processing-cadence", type = "float", default = 0.1,
group.add_argument("--processing-cadence", type = float, default = 0.1,
help = "Rate at which the event uploader acquires and processes data. Default = 0.1 seconds.")
group.add_argument("--request-timeout", type = "float", default = 0.2,
group.add_argument("--request-timeout", type = float, default = 0.2,
help = "Timeout for requesting messages from a topic. Default = 0.2 seconds.")
group.add_argument("--kafka-server", metavar = "string",
help = "Sets the server url that the kafka topic is hosted on. Required.")
group.add_argument("--input-topic", metavar = "string",
group.add_argument("--input-topic", metavar = "string", action = "append",
help = "Sets the input kafka topic. Required.")
return parser
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment