(self)
| 1289 | return value |
| 1290 | |
| 1291 | def __repr__(self): |
| 1292 | if self.with_polymorphic_mappers: |
| 1293 | with_poly = "(%s)" % ", ".join( |
| 1294 | mp.class_.__name__ for mp in self.with_polymorphic_mappers |
| 1295 | ) |
| 1296 | else: |
| 1297 | with_poly = "" |
| 1298 | return "<AliasedInsp at 0x%x; %s%s>" % ( |
| 1299 | id(self), |
| 1300 | self.class_.__name__, |
| 1301 | with_poly, |
| 1302 | ) |
| 1303 | |
| 1304 | def __str__(self): |
| 1305 | if self._is_with_polymorphic: |