MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / default

Method default

app/update/result.py:58–61  ·  view source on GitHub ↗
(self, o)

Source from the content-addressed store, hash-verified

56class _ResultEncoder(json.JSONEncoder):
57
58 def default(self, o):
59 if isinstance(o, datetime.datetime):
60 return iso8601.to_string(o)
61 return o
62
63
64class _ResultDecoder(json.JSONDecoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected