MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _update_opts

Method _update_opts

lib/sqlalchemy/orm/strategy_options.py:1595–1598  ·  view source on GitHub ↗
(self, **kw: Any)

Source from the content-addressed store, hash-verified

1593 return s
1594
1595 def _update_opts(self, **kw: Any) -> _LoadElement:
1596 new = self._clone()
1597 new.local_opts = new.local_opts.union(kw)
1598 return new
1599
1600 def __getstate__(self) -> Dict[str, Any]:
1601 d = self._shallow_to_dict()

Callers

nothing calls this directly

Calls 2

_cloneMethod · 0.95
unionMethod · 0.45

Tested by

no test coverage detected