MCPcopy Create free account
hub / github.com/MoonshotAI/checkpoint-engine / register_files

Function register_files

checkpoint_engine/api.py:68–69  ·  view source on GitHub ↗
(checkpoint_name: str, req: RegisterRequest, raw: Request)

Source from the content-addressed store, hash-verified

66
67 @app.post("/v1/checkpoints/{checkpoint_name}/files")
68 async def register_files(checkpoint_name: str, req: RegisterRequest, raw: Request) -> Response:
69 return wrap_exception(lambda: ps.register_checkpoint(checkpoint_name, files=req.files))
70
71 @app.delete("/v1/checkpoints/{checkpoint_name}")
72 async def unregister_checkpoint(checkpoint_name: str) -> Response:

Callers

nothing calls this directly

Calls 2

wrap_exceptionFunction · 0.85
register_checkpointMethod · 0.80

Tested by

no test coverage detected