Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Geschlossen
#61 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@SaishKorgaonkar arbeitet bereits daran.

Seit 22.10.2026.

  • #85 von @SaishKorgaonkar — offen
  • #86 von @SaishKorgaonkar — offen
  • #87 von @SaishKorgaonkar — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
api, backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
2
Forks
4
Ø Merge
6 Std. 14 Min.
Gemergte PRs (30 T.)
18

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus QMeshPy/distributed-quantum

Alle Issues in QMeshPy/distributed-quantum

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.