code: def get_engine(engine):
      """return our implementation"""
  
      if engine == "auto":
          engine = get_option("io.parquet.engine")
  
      if engine == "auto":
          # try engines in this order
          try:
              return PyArrowImpl()
          except ImportError:
              pass
  
          try:
              return FastParquetImpl()
          except ImportError:
              pass
  
          raise ImportError(
              "Unable to find a usable engine; "
              "tried using: 'pyarrow', 'fastparquet'.\n"
              "pyarrow or fastparquet is required for parquet "
              "support"
          )
  
      if engine not in ["pyarrow", "fastparquet"]:
          raise ValueError(
              "engine must be one of 'pyarrow', 'fastparquet'"
          )
  
      if engine == "pyarrow":
          return PyArrowImpl()
      elif engine == "fastparquet":
          return FastParquetImpl()
  
imports: from distutils.version import LooseVersion
  from warnings import catch_warnings
  from pandas.compat import string_types
  from pandas.errors import AbstractMethodError
  from pandas import DataFrame, get_option
  from pandas.io.common import get_filepath_or_buffer, is_s3_url
label_desc: Use image node_id 1 for calling a global function with example usage: get_engine(engine) and returns: PyArrowImpl, PyArrowImpl, FastParquetImpl, FastParquetImpl