MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _coerce_strat

Method _coerce_strat

lib/sqlalchemy/orm/strategy_options.py:783–783  ·  view source on GitHub ↗
(self, strategy: _StrategySpec)

Source from the content-addressed store, hash-verified

781
782 @overload
783 def _coerce_strat(self, strategy: _StrategySpec) -> _StrategyKey: ...
784
785 @overload
786 def _coerce_strat(self, strategy: Literal[None]) -> None: ...

Callers 4

_set_column_strategyMethod · 0.95
_set_generic_strategyMethod · 0.95
_set_class_strategyMethod · 0.95

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected