Skip to content

Commit d683b9b

Browse files
committed
Allow slicing of BaseRowProxy
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent cd608f4 commit d683b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy-stubs/engine/result.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class BaseRowProxy(Mapping[str, Any]):
1616
def values(self): ...
1717
def __iter__(self): ...
1818
def __len__(self) -> int: ...
19-
def __getitem__(self, key: Union[str, int, Column]) -> Any: ...
19+
def __getitem__(self, key: Union[str, int, slice, Column]) -> Any: ...
2020
def __getattr__(self, name): ...
2121

2222
class RowProxy(BaseRowProxy):

0 commit comments

Comments
 (0)