MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __repr__

Method __repr__

lib/sqlalchemy/orm/util.py:1291–1302  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected