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

Support async in OFREP provider

Aperta
#310 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Inizia dal file del provider OFREP mostrato in PR #311, quindi esamina la configurazione delle dipendenze e i test esistenti del provider. Conferma le modifiche alle dipendenze, aggiungi o aggiorna i test per le richieste sincrone e asincrone e verifica che il provider supporti entrambe prima di considerare il lavoro completato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Right now the OFREP provider uses requests, which means that it can only support sync APIs.

Would there be any willingness to move to using the httpx library for http requests rather than requests? It's API compatible so should be a straightforward port, and it would then become trivial to add support for async requests.

I've opened https://github.com/open-feature/python-sdk-contrib/pull/311 to show concretely what I'm proposing, though I'll note that that PR just shows the update to the OFREP provider file; it still needs updates to dependencies to add httpx, new/updated tests, etc., just want to get more confirmation before going further.

(I opened the PR because I implemented the provider in my internal code and if nothing else wanted to share.)

Lingua principale
Python
Stelle
27
Fork
33
Merge medio
5h
PR unite (30g)
10

Guida per i contributori

Apri la 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 open-feature/python-sdk-contrib

Tutte le issue di open-feature/python-sdk-contrib

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.