Commit 19e45f81 authored by Bruce Flynn's avatar Bruce Flynn

app: set default type to q1h

parent 3973724b
Pipeline #1011 failed with stage
in 23 seconds
...@@ -25,7 +25,7 @@ class DataForm(Schema): ...@@ -25,7 +25,7 @@ class DataForm(Schema):
allow_extra_fields = True allow_extra_fields = True
filter_extra_fields = False filter_extra_fields = False
type = OneOf(['rdr', 'q1h'], if_missing='rdr', if_empty='rdr') type = OneOf(['rdr', 'q1h'], if_missing='q1h', if_empty='q1h')
stations = Regex(r'^[a-zA-Z_0-9() |\.]+$', not_empty=True) stations = Regex(r'^[a-zA-Z_0-9() |\.]+$', not_empty=True)
symbols = Regex(r'^[a-zA-Z_0-9|\.]+$', not_empty=True) symbols = Regex(r'^[a-zA-Z_0-9|\.]+$', not_empty=True)
start = Regex(r'^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$', not_empty=True) start = Regex(r'^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$', not_empty=True)
......
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