Module Import alias ImportFrom alias alias alias alias alias alias ImportFrom alias Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return Str Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Call NameLoad Call NameLoad Dict Str Str Num decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad Dict Str Str Num decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad Dict Str Str Num decorator_list Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad Dict Str Str Str Str Num Str Str NameLoad Dict Str Str Str Str Num Str Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Dict For NameStore NameLoad body If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Call NameLoad Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad Dict Str ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad Num Return Call NameLoad Dict Str Call NameLoad SubscriptLoad NameLoad Index Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr FunctionDef arguments args defaults body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Expr Call NameLoad Num Assign NameStore Dict Str Str Str Str BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad Call NameLoad Dict Str Call NameLoad NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad Num If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr body Expr Call NameLoad Num If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr UnaryOpNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr body Expr Call NameLoad Num If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareIsNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Expr Call NameLoad Num Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Return Call NameLoad Dict Str Call NameLoad SubscriptLoad NameLoad Index Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return Call NameLoad Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword NameLoad
N/A N/A six flask Flask jsonify abort request make_response url_for flask.ext.httpauth HTTPBasicAuth N/A app N/A Flask __name__ static_url_path N/A auth N/A HTTPBasicAuth get_password N/A N/A username N/A N/A N/A N/A username miguel N/A N/A python N/A None N/A N/A auth get_password unauthorized N/A N/A N/A N/A N/A N/A make_response N/A jsonify N/A error Unauthorized access 403 N/A N/A auth error_handler bad_request N/A N/A error N/A N/A N/A N/A make_response N/A jsonify N/A error Bad request 400 N/A N/A N/A app errorhandler 400 not_found N/A N/A error N/A N/A N/A N/A make_response N/A jsonify N/A error Not found 404 N/A N/A N/A app errorhandler 404 N/A tasks N/A N/A id title description done 1 Buy groceries Milk, Cheese, Pizza, Fruit, Tylenol False N/A id title description done 2 Learn Python Need to find a good Python tutorial on the web False make_public_task N/A N/A task N/A N/A N/A new_task N/A N/A field task N/A N/A N/A field id N/A N/A N/A new_task N/A uri N/A url_for get_task task_id N/A task N/A id _external True N/A N/A N/A new_task N/A field N/A task N/A field N/A new_task N/A get_tasks N/A N/A N/A N/A N/A N/A jsonify N/A tasks N/A N/A make_public_task task N/A task tasks N/A N/A N/A app route /todo/api/v1.0/tasks methods N/A GET N/A auth login_required get_task N/A N/A task_id N/A N/A N/A task N/A task N/A task tasks N/A N/A task N/A id task_id N/A N/A N/A len task 0 N/A N/A N/A abort 404 N/A N/A jsonify N/A task N/A make_public_task N/A task N/A 0 N/A N/A N/A app route /todo/api/v1.0/tasks/<int:task_id> methods N/A GET N/A auth login_required create_task N/A N/A N/A N/A N/A N/A N/A N/A request json N/A title N/A request json N/A N/A N/A abort 400 N/A task N/A id title description done N/A N/A N/A tasks N/A -1 N/A id 1 N/A N/A request json N/A title N/A N/A N/A request json get description False N/A N/A N/A tasks append task N/A N/A N/A jsonify N/A task N/A make_public_task task 201 N/A N/A N/A app route /todo/api/v1.0/tasks methods N/A POST N/A auth login_required update_task N/A N/A task_id N/A N/A N/A task N/A task N/A task tasks N/A N/A task N/A id task_id N/A N/A N/A len task 0 N/A N/A N/A abort 404 N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A N/A title N/A request json N/A N/A isinstance N/A N/A request json N/A title N/A six string_types N/A N/A N/A abort 400 N/A N/A N/A description N/A request json N/A N/A isinstance N/A N/A request json N/A description N/A six string_types N/A N/A N/A abort 400 N/A N/A N/A done N/A request json N/A N/A type N/A N/A request json N/A done bool N/A N/A N/A abort 400 N/A N/A N/A task N/A 0 N/A title N/A N/A N/A request json get title N/A N/A task N/A 0 N/A title N/A N/A N/A task N/A 0 N/A description N/A N/A N/A request json get description N/A N/A task N/A 0 N/A description N/A N/A N/A task N/A 0 N/A done N/A N/A N/A request json get done N/A N/A task N/A 0 N/A done N/A N/A jsonify N/A task N/A make_public_task N/A task N/A 0 N/A N/A N/A app route /todo/api/v1.0/tasks/<int:task_id> methods N/A PUT N/A auth login_required delete_task N/A N/A task_id N/A N/A N/A task N/A task N/A task tasks N/A N/A task N/A id task_id N/A N/A N/A len task 0 N/A N/A N/A abort 404 N/A N/A N/A tasks remove N/A task N/A 0 N/A N/A jsonify N/A result True N/A N/A N/A app route /todo/api/v1.0/tasks/<int:task_id> methods N/A DELETE N/A auth login_required N/A N/A __name__ __main__ N/A N/A N/A N/A app run debug True