MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __call__

Method __call__

lib/sqlalchemy/engine/result.py:1803–1809  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1801 return fr
1802
1803 def __call__(self) -> Result[Unpack[_Ts]]:
1804 result: IteratorResult[Unpack[_Ts]] = IteratorResult(
1805 self.metadata, iter(self.data)
1806 )
1807 result._attributes = self._attributes
1808 result._source_supports_scalars = self._source_supports_scalars
1809 return result
1810
1811
1812class IteratorResult(Result[Unpack[_Ts]]):

Callers

nothing calls this directly

Calls 1

IteratorResultClass · 0.70

Tested by

no test coverage detected