MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / handle_artifacts

Function handle_artifacts

uncommon_route/proxy.py:3656–3661  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

3654 return data
3655
3656 async def handle_artifacts(request: Request) -> JSONResponse:
3657 limit = int(request.query_params.get("limit", "50"))
3658 return JSONResponse({
3659 "count": _artifacts.count(),
3660 "items": _artifacts.list(limit=max(1, min(limit, 200))),
3661 })
3662
3663 async def handle_artifact(request: Request) -> JSONResponse:
3664 artifact_id = request.path_params["artifact_id"]

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
countMethod · 0.45
listMethod · 0.45

Tested by

no test coverage detected