(self)
| 1302 | ) |
| 1303 | |
| 1304 | def __str__(self): |
| 1305 | if self._is_with_polymorphic: |
| 1306 | return "with_polymorphic(%s, [%s])" % ( |
| 1307 | self._target.__name__, |
| 1308 | ", ".join( |
| 1309 | mp.class_.__name__ |
| 1310 | for mp in self.with_polymorphic_mappers |
| 1311 | if mp is not self.mapper |
| 1312 | ), |
| 1313 | ) |
| 1314 | else: |
| 1315 | return "aliased(%s)" % (self._target.__name__,) |
| 1316 | |
| 1317 | |
| 1318 | class _WrapUserEntity: |