class_docstr: Abstraction for querying databases with user-supplied connection objects.
class_docstr_tok: ["Abstraction","for","querying","databases","with","user-supplied","connection","objects","."]
code: def __init__(self, connection: ConnectionOrCursor) -> None:
      self.driver_name = (
          "arrow_odbc_proxy"
          if isinstance(connection, ODBCCursorProxy)
          else type(connection).__module__.split(".", 1)[0].lower()
      )
      self.cursor = self._normalise_cursor(connection)
      self.result: Any = None
  
imports: from __future__ import annotations
  import re
  import sys
  from importlib import import_module
  from inspect import Parameter, signature
  from typing import TYPE_CHECKING, Any, Iterable, Literal, Sequence, TypedDict, overload
  from polars.convert import from_arrow
  from polars.exceptions import InvalidOperationError, UnsuitableSQLError
  from polars.utils.deprecation import issue_deprecation_warning
label_desc: Use image node_id 1 to create a new ConnectionExecutor object  with example: obj = ConnectionExecutor(connection)