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

Method pop

lib/sqlalchemy/orm/attributes.py:1157–1173  ·  view source on GitHub ↗
(
        self,
        state: InstanceState[Any],
        dict_: _InstanceDict,
        value: Any,
        initiator: Optional[AttributeEventToken],
        passive: PassiveFlag = PASSIVE_OFF,
    )

Source from the content-addressed store, hash-verified

1155 )
1156
1157 def pop(
1158 self,
1159 state: InstanceState[Any],
1160 dict_: _InstanceDict,
1161 value: Any,
1162 initiator: Optional[AttributeEventToken],
1163 passive: PassiveFlag = PASSIVE_OFF,
1164 ) -> None:
1165 self.set(
1166 state,
1167 dict_,
1168 None,
1169 initiator,
1170 passive=passive,
1171 check_old=value,
1172 pop=True,
1173 )
1174
1175 def set(
1176 self,

Callers 15

_resetMethod · 0.45
_set_callableMethod · 0.45
_expireMethod · 0.45
_expire_attributesMethod · 0.45
_commitMethod · 0.45
_generate_backrefMethod · 0.45
__init__Method · 0.45
_listenMethod · 0.45
fdelMethod · 0.45
expire_handlerMethod · 0.45
insert_update_handlerMethod · 0.45
populateMethod · 0.45

Calls 1

setMethod · 0.95

Tested by

no test coverage detected