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

    """
    Allow an ADMIN to create a new class (ADMIN ONLY)

    Returns: none
    """

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

    createNewClass(myCursor, myDb, data)

    dbDisconnect(myCursor, myDb)
    return dumps({})

    Allow an ADMIN to create a new class (ADMIN ONLY)

    Returns: none
    
Allow an ADMIN to create a new class (ADMIN ONLY)
Returns: none
Allow an ADMIN to create a new class ( ADMIN ONLY ) Returns : none
def classNew(u_id):
    myDb, myCursor = dbConnect()
    data = request.get_json()
    createNewClass(myCursor, myDb, data)
    dbDisconnect(myCursor, myDb)
    return dumps({})
def classNew ( u_id ) : myDb , myCursor = dbConnect ( ) data = request . get_json ( ) createNewClass ( myCursor , myDb , data ) dbDisconnect ( myCursor , myDb ) return dumps ( { } )
Allow an ADMIN to create a new class (ADMIN ONLY)
Returns: none
Allow an ADMIN to create a new class ( ADMIN ONLY ) Returns : none
"""
    Allow an ADMIN to create a new class (ADMIN ONLY)

    Returns: none
    """
u_id