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

    """
    Allow an ADMIN to update the tutor of a class

    Returns: none
    """

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

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

    Allow an ADMIN to update the tutor of a class

    Returns: none
    
Allow an ADMIN to update the tutor of a class
Returns: none
Allow an ADMIN to update the tutor of a class Returns : none
def classUpdateTutor(u_id):
    myDb, myCursor = dbConnect()
    data = request.get_json()
    updateClassTutor(myCursor, myDb, data["class_id"], data["tutor_id"])
    dbDisconnect(myCursor, myDb)
    return dumps({})
def classUpdateTutor ( u_id ) : myDb , myCursor = dbConnect ( ) data = request . get_json ( ) updateClassTutor ( myCursor , myDb , data [ "class_id" ] , data [ "tutor_id" ] ) dbDisconnect ( myCursor , myDb ) return dumps ( { } )
Allow an ADMIN to update the tutor of a class
Returns: none
Allow an ADMIN to update the tutor of a class Returns : none
"""
    Allow an ADMIN to update the tutor of a class

    Returns: none
    """
u_id