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

Method serialize_str

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

Source from the content-addressed store, hash-verified

22 return (self.path, (self.timestamp, self.value))
23
24 def serialize_str(self) -> str:
25 return f"{self.path} {self.value} {self.timestamp}"
26
27 def submit(self, graphite_address: str | tuple[str, int]):
28 GraphiteEvent.submit_many([self], graphite_address)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected