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

Function result_tuple

lib/sqlalchemy/engine/result.py:428–434  ·  view source on GitHub ↗
(
    fields: Sequence[str], extra: Optional[Any] = None
)

Source from the content-addressed store, hash-verified

426
427
428def result_tuple(
429 fields: Sequence[str], extra: Optional[Any] = None
430) -> Callable[[Iterable[Any]], Row[Any]]:
431 parent = SimpleResultMetaData(fields, extra)
432 return functools.partial(
433 Row, parent, parent._effective_processors, parent._key_to_index
434 )
435
436
437# a symbol that indicates to internal Result methods that

Callers 5

test_none_entityMethod · 0.90
merge_frozen_resultFunction · 0.85
merge_resultFunction · 0.85
create_row_processorMethod · 0.85

Calls 1

Tested by 2

test_none_entityMethod · 0.72