Azure / Azure/azure-sdk-for-python

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

Offen
#42,835 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Client Communication - Call Automation needs-team-attention Service Attention
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T.
Gemergte PRs (30 T.)
217

Beschreibung

- **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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
api
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

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