Module Import alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str NameLoad Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign SubscriptStore NameLoad Index Num BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str NameLoad Str Assign NameStore Call NameLoad NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Print Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign SubscriptStore NameLoad Index Num BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Print Str decorator_list
N/A N/A os.path config UserConfig N/A config N/A UserConfig N/A BASEDIR N/A config BASEDIR N/A WHITE_SPACE N/A config WHITE_SPACE generate_controller N/A N/A model_name model_components N/A N/A N/A model_name N/A N/A model_name lower N/A db_model_name N/A N/A model_name title N/A controller_path N/A N/A N/A os path join BASEDIR N/A N/A app/controllers/ model_name .py N/A controller_file N/A open controller_path w N/A N/A N/A controller_file write from flask import Blueprint
 N/A N/A N/A controller_file write from flask import render_template
 N/A N/A N/A controller_file write from flask import json
 N/A N/A N/A controller_file write from flask import session
 N/A N/A N/A controller_file write from flask import url_for
 N/A N/A N/A controller_file write from flask import redirect
 N/A N/A N/A controller_file write from flask import request
 N/A N/A N/A controller_file write from flask import abort
 N/A N/A N/A controller_file write from flask import Response
 N/A N/A N/A controller_file write from datetime import datetime
 N/A N/A N/A controller_file write from helpers import new_parser
 N/A N/A N/A controller_file write from helpers import edit_parser

 N/A N/A N/A controller_file write from app import db

 N/A N/A N/A controller_file write N/A N/A from app.models import  db_model_name N/A N/A N/A controller_file write N/A N/A N/A model_name _view = Blueprint(' model_name _view', __name__)

 N/A N/A N/A controller_file write N/A N/A ###########  model_name  REST controller ###########

 N/A N/A N/A controller_file write N/A N/A N/A N/A @ model_name _view.route('/ model_name ',methods=['GET','POST'],defaults={'id':None})
 N/A N/A N/A controller_file write N/A N/A N/A N/A @ model_name _view.route('/ model_name /<id>',methods=['GET','PUT','DELETE'])
 N/A N/A N/A controller_file write N/A N/A def  model_name _controller(id):
 N/A N/A N/A controller_file write N/A WHITE_SPACE if request.data:
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE model_name  =  db_model_name ()
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE model_name  = new_parser( model_name , request.data)
 N/A N/A N/A controller_file write N/A WHITE_SPACE if id:
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE if request.method == 'GET':
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name  =  N/A N/A model_name title .query.get(id)
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE if  model_name :
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name  =  model_name .dto()
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE return json.dumps(dict( model_name = model_name ))
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return abort(404)
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE elif request.method == 'PUT':
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name _item =  N/A N/A model_name title .query.get(id)
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE if  model_name _item:
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name _item = edit_parser( model_name _item, request.data)
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name _item.last_updated_on = datetime.now()
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE db.session.add( model_name _item)
 N/A N/A N/A controller_file write N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE db.session.commit()
 N/A N/A N/A controller_file write N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE return '', 204
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return abort(404)
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE elif request.method == 'DELETE':
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name _item =  N/A N/A model_name title .query.get(id)
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE if  model_name _item:
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE db.session.delete( model_name _item)
 N/A N/A N/A controller_file write N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE db.session.commit()
 N/A N/A N/A controller_file write N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE return '', 204
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return abort(404)
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE else:
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return abort(405)
 N/A N/A N/A controller_file write N/A WHITE_SPACE else:
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE if request.method == 'GET':
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name _list =  N/A N/A model_name title .query.all()
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE entries=None
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE if  model_name _list:
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE WHITE_SPACE entries = [ model_name .dto() for  model_name  in  model_name _list]
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return json.dumps(dict( model_name =entries))
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE elif request.method == 'POST':
 N/A N/A N/A controller_file write N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name .created_on = datetime.now()
 N/A N/A N/A controller_file write N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE model_name .last_updated_on = datetime.now()
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE db.session.add(new_ model_name )
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE db.session.commit()
 N/A N/A N/A controller_file write N/A N/A N/A N/A N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return json.dumps(dict( model_name =new_ model_name .dto())), 201
 N/A N/A N/A controller_file write N/A N/A WHITE_SPACE WHITE_SPACE else:
 N/A N/A N/A controller_file write N/A N/A N/A WHITE_SPACE WHITE_SPACE WHITE_SPACE return abort(405)

 N/A N/A N/A controller_file close N/A main_path N/A N/A N/A os path join BASEDIR app/main.py N/A read_main_file N/A open main_path r N/A original_lines N/A N/A read_main_file readlines N/A N/A original_lines N/A 16 N/A N/A N/A original_lines N/A 16 strip N/A N/A original_lines N/A 16 N/A N/A N/A N/A original_lines N/A 16 ,  model_name _view
 N/A main_file N/A open main_path w N/A lines original_lines N/A N/A N/A N/A main_file write lines N/A N/A N/A main_file close N/A main_file N/A open main_path a N/A N/A N/A main_file write N/A N/A 
app.register_blueprint( model_name _view) N/A N/A N/A main_file close N/A init_path N/A N/A N/A os path join BASEDIR app/controllers/__init__.py N/A init_file N/A open init_path a N/A N/A N/A init_file write N/A N/A N/A N/A 
from  model_name  import  model_name _view N/A N/A N/A init_file close N/A Tree REST controller generated N/A add_controller N/A N/A controller_name N/A N/A N/A controller_name N/A N/A controller_name lower N/A controller_name N/A N/A controller_name replace _ N/A controller_name N/A N/A controller_name replace ' _ N/A controller_name N/A N/A controller_name replace . _ N/A controller_name N/A N/A controller_name replace , _ N/A controller_path N/A N/A N/A os path join BASEDIR N/A N/A app/controllers/ controller_name .py N/A controller_file N/A open controller_path w N/A N/A N/A controller_file write from flask import Blueprint
 N/A N/A N/A controller_file write from flask import render_template
 N/A N/A N/A controller_file write from flask import json
 N/A N/A N/A controller_file write from flask import session
 N/A N/A N/A controller_file write from flask import url_for
 N/A N/A N/A controller_file write from flask import redirect
 N/A N/A N/A controller_file write from flask import request
 N/A N/A N/A controller_file write from flask import abort
 N/A N/A N/A controller_file write from flask import Response

 N/A N/A N/A controller_file write from app import db

 N/A N/A N/A controller_file write N/A N/A N/A controller_name _view = Blueprint(' controller_name _view', __name__)

 N/A N/A N/A controller_file write N/A N/A N/A N/A @ controller_name _view.route('/ controller_name ') #Link
 N/A N/A N/A controller_file write N/A N/A def  controller_name _control():
 N/A N/A N/A controller_file write N/A WHITE_SPACE # add your controller here
 N/A N/A N/A controller_file write N/A WHITE_SPACE return "controller stub" N/A N/A N/A controller_file close N/A main_path N/A N/A N/A os path join BASEDIR app/main.py N/A read_main_file N/A open main_path r N/A original_lines N/A N/A read_main_file readlines N/A N/A original_lines N/A 16 N/A N/A N/A original_lines N/A 2 strip N/A N/A original_lines N/A 16 N/A N/A N/A N/A original_lines N/A 2 ,  controller_name _view
 N/A main_path N/A N/A N/A os path join BASEDIR app/main.py N/A main_file N/A open main_path w N/A lines original_lines N/A N/A N/A N/A main_file write lines N/A N/A N/A main_file close N/A main_file N/A open main_path a N/A N/A N/A main_file write N/A N/A 
app.register_blueprint( controller_name _view) N/A N/A N/A main_file close N/A init_path N/A N/A N/A os path join BASEDIR app/controllers/__init__.py N/A init_file N/A open init_path a N/A N/A N/A init_file write N/A N/A N/A N/A 
from  controller_name  import  controller_name _view N/A N/A N/A init_file close N/A 
Stub Controller generated
 N/A