code: def _extract_numbers(arg: Message_T) -> List[float]:
      
      s = str(arg)
      return list(map(float, re.findall(r'[+-]?(\d*\.?\d+|\d+\.?\d*)', s)))
docs: Extract all numbers (integers and floats) from a message-like object.