def open_file(source): """ pyarrow.open_file deprecated since 0.12, use pyarrow.ipc.open_file """ import warnings warnings.warn("pyarrow.open_file is deprecated, please use " "pyarrow.ipc.open_file") return ipc.open_file(source)