skyline.webapp package¶
Submodules¶
skyline.webapp.backend module¶
-
panorama_request
()[source]¶ Gets the details of anomalies from the database, using the URL arguments that are passed in by the
request.args
to build the MySQL select query string and queries the database, parse the results and creates an array of the anomalies that matched the query and creates thepanaroma.json
file, then returns the array. The Webapp needs both the array and the JSONP file to serve to the browser for the client sidepanaroma.js
.Parameters: None – determined from request.args
Returns: array Return type: array Note
And creates
panaroma.js
for client side javascript