OpenFGA SDK doesn't seem to support async_req parameter
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 85
- Fork
- 36
- Merge medio
- 3h 8m
- PR unite (30g)
- 3
Descrizione
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of OpenFGA and the issue still persists.
- I have searched the Slack community and have not found a suitable solution or answer.
- I agree to the terms within the OpenFGA Code of Conduct.
Description
Unless I missed something, it seems the async_req parameter to send requests asynchronously cannot be set from the public APIs. options_to_kwargs doesn't support this parameter, so there's no way to set it without using internal APIs. Is this expected?
Expectation
Description is explanatory.
Reproduction
OpenFGA SDK version
0.9.4
OpenFGA version
1.8
SDK Configuration
Logs
No response
References
No response
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.
Direzione di ricerca
Inizia in openfga_sdk/client/client.py, in options_to_kwargs, e confronta le sue opzioni pubbliche con il parametro async_req in openfga_sdk/api_client.py. Verifica come i metodi pubblici del client passano le opzioni della richiesta, quindi rendi async_req disponibile tramite queste API e verifica che le richieste asincrone possano essere configurate senza usare API interne.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100