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

Method __init__

example_code/item_087.py:52–54  ·  view source on GitHub ↗
(self, body)

Source from the content-addressed store, hash-verified

50print("Example 1")
51class Request:
52 def __init__(self, body):
53 self.body = body
54 self.response = None
55
56def do_work(data):
57 assert False, data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected