MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / load_attrs

Method load_attrs

lib/sqlalchemy/ext/mutable.py:529–535  ·  view source on GitHub ↗
(
            state: InstanceState[_O],
            ctx: Union[object, QueryContext, UOWTransaction],
            attrs: Iterable[Any],
        )

Source from the content-addressed store, hash-verified

527 val._parents[state] = key
528
529 def load_attrs(
530 state: InstanceState[_O],
531 ctx: Union[object, QueryContext, UOWTransaction],
532 attrs: Iterable[Any],
533 ) -> None:
534 if not attrs or listen_keys.intersection(attrs):
535 load(state)
536
537 def set_(
538 target: InstanceState[_O],

Callers

nothing calls this directly

Calls 1

intersectionMethod · 0.45

Tested by

no test coverage detected