MCPcopy Create free account
hub / github.com/Robbyant/lingbot-map / save

Method save

demo_render/interactive_viewer/camera.py:257–260  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

255 return result
256
257 def save(self, path: str):
258 data = [kf.to_dict() for kf in self.keyframes]
259 with open(path, "w") as f:
260 json.dump(data, f, indent=2)
261
262 def load(self, path: str):
263 with open(path) as f:

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.45

Tested by

no test coverage detected