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

Method __repr__

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

Source from the content-addressed store, hash-verified

5344 bind._run_ddl_visitor(ddl.SchemaDropper, self, checkfirst=checkfirst)
5345
5346 def __repr__(self) -> str:
5347 exprs: _typing_Sequence[Any] # noqa: F842
5348
5349 return "Index(%s)" % (
5350 ", ".join(
5351 [repr(self.name)]
5352 + [repr(e) for e in self.expressions]
5353 + (self.unique and ["unique=True"] or [])
5354 )
5355 )
5356
5357
5358_NamingSchemaCallable = Union[

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected