Skip to content

Commit

Permalink
Allow slicing of BaseRowProxy
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Jul 3, 2022
1 parent 80f8932 commit 0dc4764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlalchemy-stubs/engine/result.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0dc4764

Please sign in to comment.