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

Method __repr__

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

Source from the content-addressed store, hash-verified

5744 bind._run_ddl_visitor(ddl.SchemaDropper, self, checkfirst=checkfirst)
5745
5746 def __repr__(self) -> str:
5747 exprs: _typing_Sequence[Any] # noqa: F842
5748
5749 return "Index(%s)" % (
5750 ", ".join(
5751 [repr(self.name)]
5752 + [repr(e) for e in self.expressions]
5753 + (self.unique and ["unique=True"] or [])
5754 )
5755 )
5756
5757
5758_NamingSchemaCallable = Union[

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected