Skip to content
Snippets Groups Projects
Commit ed5cf9e3 authored by Cain, Payton David's avatar Cain, Payton David
Browse files

change params times to datetime

parent 0c59c914
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!106change params times to datetime
...@@ -34,18 +34,18 @@ class MetadataDatabaseFactory(object): ...@@ -34,18 +34,18 @@ class MetadataDatabaseFactory(object):
( (
id, id,
category, category,
network,
station,
channel,
location,
starttime, starttime,
endtime, endtime,
created_after, created_after,
created_before, created_before,
network,
station,
channel,
location,
data_valid, data_valid,
metadata_valid, metadata_valid,
status, status,
) = params.dict().values() ) = params.datetime_dict().values()
if id: if id:
query = query.where(table.c.id == id) query = query.where(table.c.id == id)
if category: if category:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment