MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / pop

Method pop

lib/sqlalchemy/orm/attributes.py:1152–1168  ·  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

1150 )
1151
1152 def pop(
1153 self,
1154 state: InstanceState[Any],
1155 dict_: _InstanceDict,
1156 value: Any,
1157 initiator: Optional[AttributeEventToken],
1158 passive: PassiveFlag = PASSIVE_OFF,
1159 ) -> None:
1160 self.set(
1161 state,
1162 dict_,
1163 None,
1164 initiator,
1165 passive=passive,
1166 check_old=value,
1167 pop=True,
1168 )
1169
1170 def set(
1171 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