Support async in OFREP provider
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
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
- 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 open-feature/python-sdk-contrib
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
UnleashProvider.track has the wrong signature: client.track raises TypeError instead of no-op Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
open-feature/python-sdk-contrib#417 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
Tutte le issue di open-feature/python-sdk-contrib
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·