MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / items

Method items

lib/sqlalchemy/engine/row.py:378–385  ·  view source on GitHub ↗

Return a view of key/value tuples for the elements in the underlying :class:`.Row`.

(self)

Source from the content-addressed store, hash-verified

376 return repr(dict(self))
377
378 def items(self) -> ROMappingItemsView:
379 """Return a view of key/value tuples for the elements in the
380 underlying :class:`.Row`.
381
382 """
383 return ROMappingItemsView(
384 self, [(key, self[key]) for key in self.keys()]
385 )
386
387 def keys(self) -> RMKeyView:
388 """Return a view of 'keys' for string column names represented

Callers 15

_testsFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
visit_create_indexMethod · 0.45
get_multi_columnsMethod · 0.45
get_multi_indexesMethod · 0.45
_serialize_hstoreFunction · 0.45
__init__Method · 0.45

Calls 2

keysMethod · 0.95
ROMappingItemsViewClass · 0.85

Tested by 3

_resolve_namesMethod · 0.36
_check_expressionsMethod · 0.36
_apply_maybe_asyncFunction · 0.36