MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _stateful

Method _stateful

lib/sqlalchemy/orm/decl_api.py:477–480  ·  view source on GitHub ↗
(self, **kw: Any)

Source from the content-addressed store, hash-verified

475
476 @hybridmethod
477 def _stateful(self, **kw: Any) -> _stateful_declared_attr[_T_co]:
478 new_kw = self.kw.copy()
479 new_kw.update(kw)
480 return _stateful_declared_attr(**new_kw)
481
482 def __call__(
483 self, fn: _DeclaredAttrDecorated[_T_co]

Callers

nothing calls this directly

Calls 3

copyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected