class_docstr: Cursor proxy for ODBC connections (requires `arrow-odbc`).
class_docstr_tok: ["Cursor","proxy","for","ODBC","connections","(","requires","`","arrow-odbc","`",")","."]
docstr: Fetch results in batches.
docstr_tok: ["Fetch","results","in","batches","."]
code: def fetch_record_batches(
      self, batch_size: int = 10_000
  ) -> Iterable[pa.RecordBatch]:
      """Fetch results in batches."""
      from arrow_odbc import read_arrow_batches_from_odbc
  
      yield from read_arrow_batches_from_odbc(
          query=self.query,
          batch_size=batch_size,
          connection_string=self.connection_string,
          **self.execute_options,
      )
  
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 4 for calling the ODBCCursorProxy obj's underlying member method code with example usage: obj.fetch_record_batches(batch_size) without return types