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

Method __init__

example_code/item_063.py:54–55  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

52
53class Serializable:
54 def __init__(self, *args):
55 self.args = args
56
57 def serialize(self):
58 return json.dumps({"args": self.args})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected