def METHOD_NAME(output) -> Status:
    output_clean = output.replace("\n", " ")
    output_clean = re.sub(" +", " ", output_clean)
    output_clean_ansi = re.compile(r"\x1b[^m]*m")
    output_clean = output_clean_ansi.sub(" ", output_clean)
    regex = r"Source Status:%(log)s(.*?)%(log)s.* Status: .*" % REGEX_AUX
    output_clean_regex = re.findall(regex, output_clean.strip())
    return Status.parse_obj(literal_eval(output_clean_regex[0].strip()))