MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _copy

Method _copy

lib/sqlalchemy/sql/schema.py:4301–4311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4299 return util.preloaded.sql_functions.func.next_value(self)
4300
4301 def _copy(self) -> Sequence:
4302 return Sequence(
4303 name=self.name,
4304 schema=self.schema,
4305 data_type=self.data_type,
4306 optional=self.optional,
4307 metadata=self.metadata,
4308 for_update=self.for_update,
4309 **self._as_dict(),
4310 **self.dialect_kwargs,
4311 )
4312
4313 def _set_parent(self, parent: SchemaEventTarget, **kw: Any) -> None:
4314 assert isinstance(parent, Column)

Callers

nothing calls this directly

Calls 2

SequenceClass · 0.85
_as_dictMethod · 0.45

Tested by

no test coverage detected