def _format(self, arg: Any) -> str:
        """Return a string representation of the input arg. Builds the representation recursively."""
        return (
            "{" + ", ".join(f"{k}[{i}]: {self._format(v)}" for k, (i, v) in arg.items()) + "}"
            if isinstance(arg, OrderedDict)
            else str(arg)
        )
Return a string representation of the input arg. Builds the representation recursively.
olive/search/search_point.py