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 <andersk@mit.edu>
  • Loading branch information
andersk committed Nov 17, 2020
1 parent cd608f4 commit d683b9b
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 d683b9b

Please sign in to comment.