MCPcopy
hub / github.com/Textualize/textual / updated

Method updated

src/textual/_node_list.py:74–79  ·  view source on GitHub ↗

Mark the nodes as having been updated.

(self)

Source from the content-addressed store, hash-verified

72 return widget in self._nodes
73
74 def updated(self) -> None:
75 """Mark the nodes as having been updated."""
76 self._updates += 1
77 node = None if self._parent is None else self._parent()
78 while node is not None and (node := node._parent) is not None:
79 node._nodes._updates += 1
80
81 def _sort(
82 self,

Callers 7

_sortMethod · 0.95
_appendMethod · 0.95
_insertMethod · 0.95
_removeMethod · 0.95
_clearMethod · 0.95
idMethod · 0.80
__set__Method · 0.80

Calls 1

_parentMethod · 0.80

Tested by

no test coverage detected