MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _only_one_row

Method _only_one_row

lib/sqlalchemy/engine/_result_cy.py:504–509  ·  view source on GitHub ↗
(
        self: BaseResultInternal[Row[_T, Unpack[TupleAny]]],
        raise_for_second_row: bool,
        raise_for_none: bool,
        scalar: Literal[True],
    )

Source from the content-addressed store, hash-verified

502
503 @overload
504 def _only_one_row(
505 self: BaseResultInternal[Row[_T, Unpack[TupleAny]]],
506 raise_for_second_row: bool,
507 raise_for_none: bool,
508 scalar: Literal[True],
509 ) -> _T: ...
510
511 @overload
512 def _only_one_row(

Callers 12

firstMethod · 0.80
one_or_noneMethod · 0.80
scalar_oneMethod · 0.80
scalar_one_or_noneMethod · 0.80
oneMethod · 0.80
scalarMethod · 0.80
firstMethod · 0.80
one_or_noneMethod · 0.80
oneMethod · 0.80
firstMethod · 0.80
one_or_noneMethod · 0.80
oneMethod · 0.80

Calls 1

_soft_closeMethod · 0.95

Tested by

no test coverage detected