MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / set

Method set

lib/sqlalchemy/orm/attributes.py:1175–1185  ·  view source on GitHub ↗
(
        self,
        state: InstanceState[Any],
        dict_: _InstanceDict,
        value: Any,
        initiator: Optional[AttributeEventToken] = None,
        passive: PassiveFlag = PASSIVE_OFF,
        check_old: Any = None,
        pop: bool = False,
    )

Source from the content-addressed store, hash-verified

1173 )
1174
1175 def set(
1176 self,
1177 state: InstanceState[Any],
1178 dict_: _InstanceDict,
1179 value: Any,
1180 initiator: Optional[AttributeEventToken] = None,
1181 passive: PassiveFlag = PASSIVE_OFF,
1182 check_old: Any = None,
1183 pop: bool = False,
1184 ) -> None:
1185 raise NotImplementedError()
1186
1187 def delete(self, state: InstanceState[Any], dict_: _InstanceDict) -> None:
1188 raise NotImplementedError()

Callers 5

appendMethod · 0.95
removeMethod · 0.95
popMethod · 0.95
__set__Method · 0.45
set_attributeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected