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

Method serialize

example_code/item_063.py:57–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 self.args = args
56
57 def serialize(self):
58 return json.dumps({"args": self.args})
59
60
61print("Example 2")

Callers 1

item_063.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected