MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_entity_description

Method get_entity_description

lib/sqlalchemy/sql/dml.py:145–153  ·  view source on GitHub ↗
(cls, statement: UpdateBase)

Source from the content-addressed store, hash-verified

143
144 @classmethod
145 def get_entity_description(cls, statement: UpdateBase) -> Dict[str, Any]:
146 return {
147 "name": (
148 statement.table.name
149 if is_named_from_clause(statement.table)
150 else None
151 ),
152 "table": statement.table,
153 }
154
155 @classmethod
156 def get_returning_column_descriptions(

Callers

nothing calls this directly

Calls 1

is_named_from_clauseFunction · 0.85

Tested by

no test coverage detected