(self)
| 2695 | |
| 2696 | @HasMemoized_ro_memoized_attribute |
| 2697 | def _with_polymorphic_selectable(self) -> FromClause: |
| 2698 | if not self.with_polymorphic: |
| 2699 | return self.persist_selectable |
| 2700 | |
| 2701 | spec, selectable = self.with_polymorphic |
| 2702 | if selectable is not None: |
| 2703 | return selectable |
| 2704 | else: |
| 2705 | return self._selectable_from_mappers( |
| 2706 | self._mappers_from_spec(spec, selectable), False |
| 2707 | ) |
| 2708 | |
| 2709 | with_polymorphic_mappers = _with_polymorphic_mappers |
| 2710 | """The list of :class:`_orm.Mapper` objects included in the |
nothing calls this directly
no test coverage detected