MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / scalar

Method scalar

lib/sqlalchemy/engine/result.py:1123–1124  ·  view source on GitHub ↗
(self: Result[Never, Unpack[TupleAny]])

Source from the content-addressed store, hash-verified

1121 # https://github.com/python/mypy/issues/20651
1122 @overload
1123 def scalar(self: Result[Never, Unpack[TupleAny]]) -> Optional[Any]:
1124 pass
1125
1126 @overload
1127 def scalar(self: Result[_T, Unpack[TupleAny]]) -> Optional[_T]:

Callers

nothing calls this directly

Calls 1

_only_one_rowMethod · 0.80

Tested by

no test coverage detected