MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / serialize

Method serialize

scripts/monitoring/utils.py:21–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 timestamp: int
20
21 def serialize(self):
22 return (self.path, (self.timestamp, self.value))
23
24 def serialize_str(self) -> str:
25 return f"{self.path} {self.value} {self.timestamp}"

Callers 1

submit_manyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected