code: def __getattr__(name):
      if name == "OrcFileFormat" and not _orc_available:
          raise ImportError(_orc_msg)
  
      if name == "ParquetFileFormat" and not _parquet_available:
          raise ImportError(_parquet_msg)
  
      raise AttributeError(
          "module 'pyarrow.dataset' has no attribute '{0}'".format(name)
      )
  
file_path: arrow/python/pyarrow/dataset.py
imports: import pyarrow
  from pyarrow.util import _is_iterable, _stringify_path, _is_path_like
  from pyarrow.compute import Expression, scalar, field
label_desc: Use image node_id 1 for calling a global function with example usage: __getattr__(name) without return types