Example #1
0
def getQuestionKeys(genre, update=False):
    """memset all the KEYS under the GENRE return the keys"""
    questions = memg(genre)
    if (not questions) or update:
        questions = Question.all(keys_only=True).filter("genre =", genre)
        questions = [x for x in questions]
        mems(genre, questions)
    return questions