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

Method _copy

test/sql/test_metadata.py:145–148  ·  view source on GitHub ↗
(self, *arg, **kw)

Source from the content-addressed store, hash-verified

143 super().__init__(*args, **kw)
144
145 def _copy(self, *arg, **kw):
146 c = super()._copy(*arg, **kw)
147 c.widget = self.widget
148 return c
149
150 c1 = MyColumn("foo", Integer, widget="x")
151 c2 = c1._copy()

Calls

no outgoing calls

Tested by

no test coverage detected