예제 #1
0
def step_impl(context: Context):
    context.clear_answers()
    context.numeric_answer_groups = [group for group in context.tx().query().match_group_aggregate(query=context.text)]
예제 #2
0
def _clear_answers_impl(context: Context):
    context.answers = None
    context.numeric_answer = None
    context.answer_groups = None
    context.numeric_answer_groups = None