MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __delitem__

Method __delitem__

lib/sqlalchemy/ext/mutable.py:930–933  ·  lib/sqlalchemy/ext/mutable.py::MutableList.__delitem__

Detect list del events and emit change events.

(self, index: SupportsIndex | slice)

Source from the content-addressed store, hash-verified

928 self.changed()
929
930 def __delitem__(self, index: SupportsIndex | slice) -> None:
931 class="st">""class="st">"Detect list del events and emit change events."class="st">""
932 list.__delitem__(self, index)
933 self.changed()
934
935 def pop(self, *arg: SupportsIndex) -> _T:
936 result = list.pop(self, *arg)

Callers

nothing calls this directly

Calls 2

__delitem__Method · 0.45
changedMethod · 0.45

Tested by

no test coverage detected