clean up ...

community
Steve L. Nyemba 6 years ago
parent bbca190ba4
commit b74c752d53

@ -103,6 +103,20 @@ def set_userdata(key):
r = reader.view(id,key=key)
session[id] = r
pass
@app.route("/1/dashboard/<id>/<node>")
def plot_dashboard(id,node):
"""
This function will plot a given app/folder/node
"""
from basic import model
session['key'] = 'cus_D2x3ItYNfWjSY3'
if 'key' in session :
args = {"type":SYS_STORE['class']['read'],"args":SYS_STORE['args']}
reader = factory.instance(**args)
plan = reader.view('uid_map/active_plan',key=session['key'])
m = model.instance(plan,id,node)
pass
@app.route('/1/register',methods=['POST'])
def register() :
"""
@ -185,7 +199,7 @@ def active_plan():
return ('',403)
@app.route("/1/board",methods=["GET"])
def get_board():
# session['key'] = 'cus_D2x3ItYNfWjSY3'
if 'key' in session :
args = {"type":SYS_STORE['class']['read'],"args":SYS_STORE['args']}

Loading…
Cancel
Save