Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(backend): async Python client for the Kubo RPC API

Aperta
#61 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

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
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
api, backend

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

enhancement kubo storage tier-2

Summary

A small typed client the backend uses to add, pin, unpin and import content.

Estimated size: M

Current state in this repo

  • httpx is already a backend dependency.

Proposal

  • httpx.AsyncClient wrapper with add, pin_add, pin_rm, pin_ls, dag_import (CAR) and block_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 unavailable error, 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QMeshPy/distributed-quantum

Tutte le issue di QMeshPy/distributed-quantum

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.