MCPcopy Index your code
hub / github.com/diffgram/diffgram / serialize

Method serialize

shared/database/task/guide.py:59–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 time_updated = Column(DateTime, onupdate = datetime.datetime.utcnow)
58
59 def serialize(self):
60 return {
61 'name': self.name,
62 'markdown': self.description_markdown,
63 'time_updated': self.time_updated
64 }
65
66 def serialize_for_trainer(self):
67 return {

Calls

no outgoing calls

Tested by

no test coverage detected