ArrowDriverProperties (database/_arrow_registry.py)

polars · py-polars/src/polars/io/database/_arrow_registry.py · python · MIT
database, tag:knn-classified

Module exposing: ArrowDriverProperties

# Source: https://github.com/pola-rs/polars | License: MIT | Copyright 2025 Ritchie Vink
# Provided via justclaw.it.com; keep this notice with the code.
from __future__ import annotations

from typing import Final, TypedDict


class ArrowDriverProperties(TypedDict):
    # name of the method that fetches all arrow data; tuple form
    # calls the fetch_all method with the given chunk size (int)
    fetch_all: str
    # name of the method that fetches arrow data in batches
    fetch_batches: str | None
    # indicate whether the given batch size is respected exactly
    exact_batch_size: bool | None
    # repeat batch calls (if False, the batch call is a generator)
    repeat_batch_calls: bool
    # if arrow/polars functionality requires a minimum module version
    minimum_version: str | No

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key