Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ add_observer
Method
add_observer
recipes/Python/413701_ObserverProxy/recipe-413701.py:5–6 ·
view source on GitHub ↗
(self, observer)
Source
from the content-addressed store, hash-verified
3
def
__init__(self):
4
self._observers = []
5
def
add_observer(self, observer):
6
self._observers.append(observer)
7
def
remove_observer(self, observer):
8
self._observers.remove(observer)
9
Callers
1
recipe-413701.py
File · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected