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

Method __init__

example_code/item_052.py:176–178  ·  view source on GitHub ↗
(self, input_data)

Source from the content-addressed store, hash-verified

174print("Example 12")
175class GenericWorker:
176 def __init__(self, input_data):
177 self.input_data = input_data
178 self.result = None
179
180 def map(self):
181 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected