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)]
def _clear_answers_impl(context: Context): context.answers = None context.numeric_answer = None context.answer_groups = None context.numeric_answer_groups = None