MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _row_as_tuple_getter

Method _row_as_tuple_getter

lib/sqlalchemy/engine/result.py:175–179  ·  view source on GitHub ↗
(
        self, keys: Sequence[_KeyIndexType]
    )

Source from the content-addressed store, hash-verified

173 return None
174
175 def _row_as_tuple_getter(
176 self, keys: Sequence[_KeyIndexType]
177 ) -> _TupleGetterType:
178 indexes = self._indexes_for_keys(keys)
179 return tuplegetter(*indexes)
180
181 def _make_key_to_index(
182 self, keymap: Mapping[_KeyType, Sequence[Any]], index: int

Callers 2

_tuple_getterMethod · 0.80
test_tuple_getterMethod · 0.80

Calls 2

_indexes_for_keysMethod · 0.95
tuplegetterFunction · 0.85

Tested by 1

test_tuple_getterMethod · 0.64