(self, mapper)
| 1362 | self._expire_memoizations() |
| 1363 | |
| 1364 | def _add_with_polymorphic_subclass(self, mapper): |
| 1365 | subcl = mapper.class_ |
| 1366 | if self.with_polymorphic is None: |
| 1367 | self._set_with_polymorphic((subcl,)) |
| 1368 | elif self.with_polymorphic[0] != "*": |
| 1369 | assert isinstance(self.with_polymorphic[0], tuple) |
| 1370 | self._set_with_polymorphic( |
| 1371 | (self.with_polymorphic[0] + (subcl,), self.with_polymorphic[1]) |
| 1372 | ) |
| 1373 | |
| 1374 | def _set_concrete_base(self, mapper): |
| 1375 | """Set the given :class:`_orm.Mapper` as the 'inherits' for this |
no test coverage detected