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

Method _copy

lib/sqlalchemy/sql/schema.py:6208–6223  ·  view source on GitHub ↗
(self, **kw: Any)

Source from the content-addressed store, hash-verified

6206 return self._copy(**kw)
6207
6208 def _copy(self, **kw: Any) -> Identity:
6209 i = Identity(
6210 always=self.always,
6211 on_null=self.on_null,
6212 start=self.start,
6213 increment=self.increment,
6214 minvalue=self.minvalue,
6215 maxvalue=self.maxvalue,
6216 nominvalue=self.nominvalue,
6217 nomaxvalue=self.nomaxvalue,
6218 cycle=self.cycle,
6219 cache=self.cache,
6220 order=self.order,
6221 )
6222
6223 return self._schema_item_copy(i)

Callers 1

copyMethod · 0.95

Calls 2

IdentityClass · 0.85
_schema_item_copyMethod · 0.80

Tested by

no test coverage detected