code: def _get_delta_lake_table(
      table_path: str,
      version: int | None = None,
      storage_options: dict[str, Any] | None = None,
      delta_table_options: dict[str, Any] | None = None,
  ) -> deltalake.DeltaTable:
      """
      Initialize a Delta lake table for use in read and scan operations.
  
      Notes
      -----
      Make sure to install deltalake>=0.8.0. Read the documentation
      `here <https://delta-io.github.io/delta-rs/python/installation.html>`_.
  
      """
      _check_if_delta_available()
  
      if delta_table_options is None:
          delta_table_options = {}
  
      dl_tbl = deltalake.DeltaTable(
          table_path,
          version=version,
          storage_options=storage_options,
          **delta_table_options,
      )
  
      return dl_tbl
  
file_path: polars/py-polars/polars/io/delta.py
imports: from __future__ import annotations
  from pathlib import Path
  from typing import TYPE_CHECKING, Any
  from urllib.parse import urlparse
  from polars.convert import from_arrow
  from polars.datatypes import Categorical, Null, Time
  from polars.datatypes.convert import unpack_dtypes
  from polars.dependencies import _DELTALAKE_AVAILABLE, deltalake
  from polars.io.pyarrow_dataset import scan_pyarrow_dataset
label_desc: Use image node_id 4 for calling a global function with example usage: _get_delta_lake_table(table_path, version, storage_options, delta_table_options) and returns: dl_tbl