Skip to content

Commit 81e44ae

Browse files
authored
Ignore error about incompatible override in RowProxy (#230)
The signature of `Mapping.items` was changed in typeshed. I'm not sure whether sqlalchemy conforms strictly to the new signature, so I'm keeping the current signature and silencing the error.
1 parent a44dc36 commit 81e44ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy-stubs/engine/result.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class RowProxy(BaseRowProxy):
2929
def __eq__(self, other): ...
3030
def __ne__(self, other): ...
3131
def has_key(self, key): ...
32-
def items(self) -> _RowItems: ...
32+
def items(self) -> _RowItems: ... # type: ignore[override]
3333
def keys(self): ...
3434
def iterkeys(self): ...
3535
def itervalues(self): ...

0 commit comments

Comments
 (0)