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

    """
    Retrieves a tutor's payrate 

    Returns:
        dictionary
    """

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

    res = getTutorPayrate(myCursor, data["u_id"])
    
    dbDisconnect(myCursor, myDb)
    return dumps({"rate": res})

    Retrieves a tutor's payrate 

    Returns:
        dictionary
    
Retrieves a tutor's payrate
Retrieves a tutor ' s payrate
def tutorPayrate():
    myDb, myCursor = dbConnect()
    data = request.args
    res = getTutorPayrate(myCursor, data["u_id"])
    dbDisconnect(myCursor, myDb)
    return dumps({"rate": res})
def tutorPayrate ( ) : myDb , myCursor = dbConnect ( ) data = request . args res = getTutorPayrate ( myCursor , data [ "u_id" ] ) dbDisconnect ( myCursor , myDb ) return dumps ( { "rate" : res } )
Retrieves a tutor's payrate
Retrieves a tutor ' s payrate
"""
    Retrieves a tutor's payrate 

    Returns:
        dictionary
    """
None