langchain/utilities/serpapi.py/HiddenPrints/__enter__
class HiddenPrints:    def __enter__(self) -> None:
        """Open file to pipe stdout to."""
        self._original_stdout = sys.stdout
        sys.stdout = open(os.devnull, "w")