trackMe-backend/src/server.py
def classRemove():

    """
    Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table 

    Returns: none
    """

    myDb, myCursor = dbConnect()
    data = request.get_json()

    print(data, "hello")

    RemoveClass(myCursor, myDb, data["class_id"])
    
    dbDisconnect(myCursor, myDb)
    return dumps({})

    Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table 

    Returns: none
    
Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table
Returns: none
Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table Returns : none
def classRemove():
    myDb, myCursor = dbConnect()
    data = request.get_json()
    print(data, "hello")
    RemoveClass(myCursor, myDb, data["class_id"])
    dbDisconnect(myCursor, myDb)
    return dumps({})
def classRemove ( ) : myDb , myCursor = dbConnect ( ) data = request . get_json ( ) print ( data , "hello" ) RemoveClass ( myCursor , myDb , data [ "class_id" ] ) dbDisconnect ( myCursor , myDb ) return dumps ( { } )
Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table
Returns: none
Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table Returns : none
"""
    Allow an ADMIN to remove a class and subsequently remove all students from the class in the terms table 

    Returns: none
    """