1
0

Fix wrong type signatures (even if str is Iterable[str]…)

This commit is contained in:
Olivier Wilkinson (reivilibre)
2020-08-27 08:53:23 +01:00
parent ad7124d3c8
commit b1fd67bdf0

View File

@@ -1070,7 +1070,7 @@ class DatabasePool(object):
self,
table: str,
keyvalues: Dict[str, Any],
retcol: Iterable[str],
retcol: str,
allow_none: bool = False,
desc: str = "simple_select_one_onecol",
) -> Optional[Any]:
@@ -1100,7 +1100,7 @@ class DatabasePool(object):
txn: LoggingTransaction,
table: str,
keyvalues: Dict[str, Any],
retcol: Iterable[str],
retcol: str,
allow_none: bool = False,
) -> Optional[Any]:
ret = cls.simple_select_onecol_txn(