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

Method _coerce_strat

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

Source from the content-addressed store, hash-verified

779
780 @overload
781 def _coerce_strat(self, strategy: _StrategySpec) -> _StrategyKey: ...
782
783 @overload
784 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