Skip to content

Commit d3fd670

Browse files
fxleblancilevkivskyi
authored andcommitted
Add return type to RowProxy:items() method (#120)
1 parent 317a34f commit d3fd670

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlalchemy-stubs/engine/result.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, List, Mapping, Optional, Iterator, Union
1+
from typing import Any, List, Mapping, Optional, Iterator, Union, AbstractSet, Tuple
22
from ..sql.schema import Column
33

44
def rowproxy_reconstructor(cls, state): ...
@@ -22,7 +22,7 @@ class RowProxy(BaseRowProxy):
2222
def __eq__(self, other): ...
2323
def __ne__(self, other): ...
2424
def has_key(self, key): ...
25-
def items(self): ...
25+
def items(self) -> AbstractSet[Tuple[str, Any]]: ...
2626
def keys(self): ...
2727
def iterkeys(self): ...
2828
def itervalues(self): ...

0 commit comments

Comments
 (0)