MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / __init__

Method __init__

example_code/item_076.py:172–176  ·  view source on GitHub ↗
(self, send, receive, secret)

Source from the content-addressed store, hash-verified

170
171class ClientSession:
172 def __init__(self, send, receive, secret):
173 self.send = send
174 self.receive = receive
175 self.secret = secret
176 self.last_distance = None
177
178
179 print("Example 10")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected