feat(backend): async Python client for the Kubo RPC API
I maintainer di solito rispondono entro 1 giorno
@SaishKorgaonkar ci sta già lavorando.
Dal 22/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by reading the backend layout and how dependencies #59 and #60 shape the content layer. Implement an async httpx.AsyncClient wrapper for the listed Kubo RPC operations, then add pytest coverage with httpx.MockTransport. Done means calls are tested, timeouts map to an unavailable error, and secrets are absent from logs and exception text.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
A small typed client the backend uses to add, pin, unpin and import content.
Estimated size: M
Current state in this repo
httpxis already a backend dependency.
Proposal
httpx.AsyncClientwrapper withadd,pin_add,pin_rm,pin_ls,dag_import(CAR) andblock_stat.- Explicit timeouts, typed errors (unavailable vs rejected), and no secrets in log output.
- Config from env (
KUBO_RPC_URL,KUBO_RPC_SECRET).
Acceptance criteria
- Each call is covered against a mocked Kubo.
- A timeout maps to an
unavailableerror, not a crash. - Secrets never appear in logs or exception text.
Out of scope
- Read-side gateway client (separate issue).
Dependencies
- #59
- #60
Testing plan
- pytest with
httpx.MockTransport; optional live test behind a marker.
Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.
- Lingua principale
- Python
- Stelle
- 2
- Fork
- 4
- Merge medio
- 5h 19m
- PR unite (30g)
- 11
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di QMeshPy/distributed-quantum
-
enhancement good first issue helia storage tier-1
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
QMeshPy/distributed-quantum#53 ·
I maintainer di solito rispondono entro 1 giorno
-
chain-integration enhancement payments research-spike tier-2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
QMeshPy/distributed-quantum#78 ·
I maintainer di solito rispondono entro 1 giorno
-
chain-integration enhancement payments research-spike tier-2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
QMeshPy/distributed-quantum#77 ·
I maintainer di solito rispondono entro 1 giorno
-
chain-integration enhancement payments tier-2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
QMeshPy/distributed-quantum#76 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue kubo storage tier-1
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
QMeshPy/distributed-quantum#75 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di QMeshPy/distributed-quantum
Issue simili
-
resource-submission validation-passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
hesreallyhim/awesome-claude-code#3214 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
room-commons replace accepts an empty old string and silently prepends the new text to the pageAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
doobidoo/mcp-memory-service#1650 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ml-explore/mlx-lm#2002 ·
I maintainer di solito rispondono entro 2 giorni