From: Albert N Date: Fri, 24 Oct 2025 10:39:06 +0000 (+0000) Subject: revert `_fields` of `Row` X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13204b7416083ccff09a45291b11fd606ff0fbd;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git revert `_fields` of `Row` --- diff --git a/lib/sqlalchemy/engine/row.py b/lib/sqlalchemy/engine/row.py index 6a834a8985..0744569f83 100644 --- a/lib/sqlalchemy/engine/row.py +++ b/lib/sqlalchemy/engine/row.py @@ -263,7 +263,7 @@ class Row(BaseRow, _RowBase[Unpack[_Ts]], Generic[Unpack[_Ts]]): :attr:`.Row._mapping` """ - return tuple(k for k in self._parent.keys if k is not None) + return tuple([k for k in self._parent.keys if k is not None]) def _asdict(self) -> Dict[str, Any]: """Return a new dict which maps field names to their corresponding