MCPcopy
hub / github.com/bugy/script-server / append

Method append

src/react/properties.py:70–74  ·  view source on GitHub ↗
(self, item: _T)

Source from the content-addressed store, hash-verified

68 self._observers.remove(observer)
69
70 def append(self, item: _T) -> None:
71 super().append(item)
72
73 for observer in self._observers:
74 observer.on_add(item, len(self.data) - 1)
75
76 def insert(self, i: int, item: _T) -> None:
77 super().insert(i, item)

Callers 15

launcher.pyFile · 0.80
excludeMethod · 0.80
subscribeMethod · 0.80
_pushMethod · 0.80
on_nextMethod · 0.80
on_nextMethod · 0.80
subscribeMethod · 0.80
subscribeMethod · 0.80
subscribeMethod · 0.80
subscribeFunction · 0.80
put_multivalueFunction · 0.80
split_allFunction · 0.80

Calls 1

on_addMethod · 0.45

Tested by 15

add_entryMethod · 0.64
create_parametersMethod · 0.64
test_two_replacesMethod · 0.64
_add_imageMethod · 0.64
on_nextMethod · 0.64
test_start_listenerMethod · 0.64
test_finish_listenerMethod · 0.64