|
|
@ -211,8 +211,9 @@ def query(filter_dummy, query):
|
|
|
|
r.close()
|
|
|
|
r.close()
|
|
|
|
return json.dumps(l)
|
|
|
|
return json.dumps(l)
|
|
|
|
|
|
|
|
|
|
|
|
@app.route(baseURL+'/map/<containerID>/<annotate>', defaults={'annotate': None})
|
|
|
|
@app.route(baseURL+'/map/<containerID>')
|
|
|
|
def getMap(containerID, annotate):
|
|
|
|
@app.route(baseURL+'/map/<containerID>/<annotate>')
|
|
|
|
|
|
|
|
def getMap(containerID, annotate=None):
|
|
|
|
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 = []
|
|
|
|