MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _schema_item_copy

Method _schema_item_copy

lib/sqlalchemy/sql/schema.py:262–266  ·  view source on GitHub ↗
(self, schema_item: _SI)

Source from the content-addressed store, hash-verified

260 return {}
261
262 def _schema_item_copy(self, schema_item: _SI) -> _SI:
263 if "info" in self.__dict__:
264 schema_item.info = self.info.copy()
265 schema_item.dispatch._update(self.dispatch)
266 return schema_item
267
268 _use_schema_map = True
269

Callers 8

to_metadataMethod · 0.80
_copyMethod · 0.80
_copyMethod · 0.80
_copyMethod · 0.80
_copyMethod · 0.80
_copyMethod · 0.80
_copyMethod · 0.80
_copyMethod · 0.80

Calls 2

copyMethod · 0.45
_updateMethod · 0.45

Tested by

no test coverage detected