Skip to content

Commit c478b8b

Browse files
committed
fixed pyi
1 parent 80ef0f4 commit c478b8b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/__init__.pyi

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ class BlockIndex:
3131
rows: int
3232
columns: int
3333

34-
def __init__() -> None: ...
34+
def __init__(
35+
block_count: int = 0,
36+
row_count: int = -1,
37+
bir_count: int = 0,
38+
bir_capacity: int = 8,
39+
bir_bytes: bytes = b'',
40+
dtype: np.dtype = None,
41+
) -> None: ...
3542
def register(self, __value: np.ndarray) -> bool: ...
3643
def to_list(self,) -> tp.List[int]: ...
3744
def to_bytes(self,) -> bytes: ...
@@ -48,9 +55,10 @@ class BlockIndex:
4855
) -> tp.Iterator[tp.Tuple[int, int]]: ...
4956
def iter_contiguous(self,
5057
__key: tp.Union[slice, np.ndarray, tp.List[int]],
58+
*,
5159
ascending: bool = False,
5260
reduce: bool = False,
53-
) -> tp.Iterator[tp.Tuple[int, int]]: ...
61+
) -> tp.Iterator[tp.Tuple[int, tp.Union[slice, int]]]: ...
5462

5563

5664
def iterable_str_to_array_1d(

0 commit comments

Comments
 (0)