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

Method _with_polymorphic_mappers

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

Source from the content-addressed store, hash-verified

2714
2715 @HasMemoized.memoized_attribute
2716 def _with_polymorphic_mappers(self) -> Sequence[Mapper[Any]]:
2717 self._check_configure()
2718
2719 if not self.with_polymorphic:
2720 return []
2721 return self._mappers_from_spec(*self.with_polymorphic)
2722
2723 @HasMemoized.memoized_attribute
2724 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