Skip to content
Snippets Groups Projects
Commit 45978f59 authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler
Browse files

Merge branch 'get-metadata-datetime-dict' into 'master'

change params times to datetime

See merge request !106
parents 0c59c914 ed5cf9e3
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!106change params times to datetime
Pipeline #52152 passed with warnings
...@@ -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