MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / _clone

Method _clone

lib/sqlalchemy/sql/base.py:1103–1107  ·  view source on GitHub ↗

Create a shallow copy of this ExecutableOption.

(self, **kw)

Source from the content-addressed store, hash-verified

1101 _is_core: bool = True
1102
1103 def _clone(self, **kw):
1104 """Create a shallow copy of this ExecutableOption."""
1105 c = self.__class__.__new__(self.__class__)
1106 c.__dict__ = dict(self.__dict__) # type: ignore
1107 return c
1108
1109
1110_L = TypeVar("_L", bound=str)

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected