docs: def convert_attrs_to_uppercase(obj: Any, attrs: Iterable[str]) -> None:
      """
      Converts the specified attributes of an object to upper case, modifying
      the object in place.
      """
      for a in attrs:
          value = getattr(obj, a)
          if value is None:
              continue
          setattr(obj, a, value.upper())