trackMe-backend/src/server.py
def tutorProfile():
    
    """
    Retrieves the first_name, last_name, email and start_date of a tutor

    Returns: dictionary of a list
    """
    myDb, myCursor = dbConnect()
    data = request.args

    res = getTutorProfile(myCursor, data["u_id"])

    dbDisconnect(myCursor, myDb)
    return dumps({"profile": res})

    Retrieves the first_name, last_name, email and start_date of a tutor

    Returns: dictionary of a list
    
Retrieves the first_name, last_name, email and start_date of a tutor
Returns: dictionary of a list
Retrieves the first_name last_name email and start_date of a tutor Returns : dictionary of a list
def tutorProfile():
    myDb, myCursor = dbConnect()
    data = request.args
    res = getTutorProfile(myCursor, data["u_id"])
    dbDisconnect(myCursor, myDb)
    return dumps({"profile": res})
def tutorProfile ( ) : myDb , myCursor = dbConnect ( ) data = request . args res = getTutorProfile ( myCursor , data [ "u_id" ] ) dbDisconnect ( myCursor , myDb ) return dumps ( { "profile" : res } )
Retrieves the first_name, last_name, email and start_date of a tutor
Returns: dictionary of a list
Retrieves the first_name last_name email and start_date of a tutor Returns : dictionary of a list
"""
    Retrieves the first_name, last_name, email and start_date of a tutor

    Returns: dictionary of a list
    """