diff --git a/sqlalchemy-stubs/engine/result.pyi b/sqlalchemy-stubs/engine/result.pyi index cd463a6..01cd5ba 100644 --- a/sqlalchemy-stubs/engine/result.pyi +++ b/sqlalchemy-stubs/engine/result.pyi @@ -16,7 +16,7 @@ class BaseRowProxy(Mapping[str, Any]): def values(self): ... def __iter__(self): ... def __len__(self) -> int: ... - def __getitem__(self, key: Union[str, int, Column]) -> Any: ... + def __getitem__(self, key: Union[str, int, slice, Column]) -> Any: ... def __getattr__(self, name): ... class RowProxy(BaseRowProxy):