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

Method _schema_item_copy

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

Source from the content-addressed store, hash-verified

249 return {}
250
251 def _schema_item_copy(self, schema_item: _SI) -> _SI:
252 if "info" in self.__dict__:
253 schema_item.info = self.info.copy()
254 schema_item.dispatch._update(self.dispatch)
255 return schema_item
256
257 _use_schema_map = True
258

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