MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _with_polymorphic_mappers

Method _with_polymorphic_mappers

lib/sqlalchemy/orm/mapper.py:2676–2681  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2674
2675 @HasMemoized.memoized_attribute
2676 def _with_polymorphic_mappers(self) -> Sequence[Mapper[Any]]:
2677 self._check_configure()
2678
2679 if not self.with_polymorphic:
2680 return []
2681 return self._mappers_from_spec(*self.with_polymorphic)
2682
2683 @HasMemoized.memoized_attribute
2684 def _post_inspect(self):

Callers

nothing calls this directly

Calls 2

_check_configureMethod · 0.95
_mappers_from_specMethod · 0.95

Tested by

no test coverage detected