hw_todo/routes.py
def canvas():
    """
    (GET)
    Updates the db with all new assignments from Canvas LMS 
    """
    get_canvas_tasks()
    
    return redirect('/')

    (GET)
    Updates the db with all new assignments from Canvas LMS 
    
(GET)
Updates the db with all new assignments from Canvas LMS
( GET ) Updates the db with all new assignments from Canvas LMS
def canvas():
    get_canvas_tasks()
    return redirect('/')
def canvas ( ) : get_canvas_tasks ( ) return redirect ( '/' )
(GET)
Updates the db with all new assignments from Canvas LMS
( GET ) Updates the db with all new assignments from Canvas LMS
"""
    (GET)
    Updates the db with all new assignments from Canvas LMS 
    """