Azure / Azure/azure-sdk-for-python

[CallAutomation] download_recording API is returning an HttpResponse object, not Iterable[bytes]

Aperta
#42,835 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Client Communication - Call Automation needs-team-attention Service Attention
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g
PR unite (30g)
217

Descrizione

- **Package Name**: azure-communication-callautomation
- **Package Version**: 1.4.x
- **Operating System**: Any
- **Python Version**: Any

**Describe the bug**
The `CallAutomationClient.download_recording()` API is documented as returning `Iterable[bytes]` (or `AsyncIterable[bytes]` for async), however the implementation returns an Azure Core HttpResponse object, which is not iterable.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at CallAutomationClient.download_recording() in the azure-communication-callautomation package and compare the documented return type with the implementation for both sync and async clients. The work is done when the API returns the documented Iterable[bytes] or AsyncIterable[bytes] rather than an HttpResponse object.

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

Valutazione

Stack tecnologico
python
Ambito
api
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.