def GET(self): # get the friend and warrior queues from spreadsheets friendq = cv.names_no_null("Friend-Q", 1) warriorq = cv.names_no_null("Warrior-Q", 1) #render the pairing_gui webpage and pass queues as data to it return render.pairing_gui(list_of_names = [friendq, warriorq])
def GET(self): # get the friend and warrior queues from spreadsheets friendq = cv.names_no_null("Friend-Q", 1) friendni = cv.names_no_null("Friend-Q", 2) warriorq = cv.names_no_null("Warrior-Q", 1) #render the pairing_gui webpage and pass queues as data to it return render.pairing_gui(list_of_names = [friendq, warriorq, friendni])
def GET(self): #display warrior names for dropdown list warriors = cv.names_no_null('Current-Pairings', 1) #for testing #warriors = ['Hannah', "montana"] return render.end_pair(table = [warriors])