|
|
@ -212,7 +212,7 @@ def query(filter_dummy, query):
|
|
|
|
return json.dumps(l)
|
|
|
|
return json.dumps(l)
|
|
|
|
|
|
|
|
|
|
|
|
@app.route(baseURL+'/map/<containerID>/<annotate>', defaults={'annotate': None})
|
|
|
|
@app.route(baseURL+'/map/<containerID>/<annotate>', defaults={'annotate': None})
|
|
|
|
def getMap(containerID):
|
|
|
|
def getMap(containerID, annotate):
|
|
|
|
s = 'select map, overlay from containers where id = :id;'
|
|
|
|
s = 'select map, overlay from containers where id = :id;'
|
|
|
|
r = db_engine.execute(text(s), id=containerID)
|
|
|
|
r = db_engine.execute(text(s), id=containerID)
|
|
|
|
l = []
|
|
|
|
l = []
|
|
|
|