Skip to content

Commit 8856720

Browse files
committed
nit: add more specific type.
1 parent 7a6cf80 commit 8856720

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

xarray_sql/reader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from collections.abc import Callable, Iterator
1414
from typing import TYPE_CHECKING
1515

16+
import numpy as np
1617
import pyarrow as pa
1718
import xarray as xr
1819

@@ -192,7 +193,7 @@ def read_xarray_table(
192193
chunks: Chunks = None,
193194
*,
194195
batch_size: int = DEFAULT_BATCH_SIZE,
195-
coord_arrays: dict | None = None,
196+
coord_arrays: dict[str, np.ndarray] | None = None,
196197
_iteration_callback: (
197198
Callable[[Block, list[str] | None], None] | None
198199
) = None,

0 commit comments

Comments
 (0)