for questions_batch in app.get_state(config).values.get('new_queries',""): for q in questions_batch: print(q)