MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / ExampleClass

Class ExampleClass

src/Test/TestRateLimit.py:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class ExampleClass(object):
14 def __init__(self):
15 self.counted = 0
16 self.last_called = None
17
18 def count(self, back="counted"):
19 self.counted += 1
20 self.last_called = back
21 return back
22
23
24class TestRateLimit:

Callers 2

testCallMethod · 0.70
testCallAsyncMethod · 0.70

Calls

no outgoing calls

Tested by 2

testCallMethod · 0.56
testCallAsyncMethod · 0.56