MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __repr__

Method __repr__

lib/sqlalchemy/sql/schema.py:1184–1190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1182 return _get_table_key(self.name, self.schema)
1183
1184 def __repr__(self) -> str:
1185 return "Table(%s)" % ", ".join(
1186 [repr(self.name)]
1187 + [repr(self.metadata)]
1188 + [repr(x) for x in self.columns]
1189 + ["%s=%s" % (k, repr(getattr(self, k))) for k in ["schema"]]
1190 )
1191
1192 def __str__(self) -> str:
1193 return _get_table_key(self.description, self.schema)

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected