Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/HelloZeroNet/ZeroNet
/ ExampleClass
Class
ExampleClass
src/Test/TestEvent.py:4–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
3
4
class
ExampleClass(object):
5
def
__init__(self):
6
self.called = []
7
self.onChanged = util.Event()
8
9
def
increment(self, title):
10
self.called.append(title)
11
12
13
class
TestEvent:
Callers
4
testEvent
Method · 0.70
testOnce
Method · 0.70
testOnceMultiple
Method · 0.70
testOnceNamed
Method · 0.70
Calls
no outgoing calls
Tested by
4
testEvent
Method · 0.56
testOnce
Method · 0.56
testOnceMultiple
Method · 0.56
testOnceNamed
Method · 0.56