Skip to content

Cloud Speech veneer should not throw an exception if there is more than one result. #2947

@pbogle

Description

@pbogle

I believe this code in the veneer is incorrect because it throws if there is more than one result.

https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/speech/google/cloud/speech/_gax.py#L263

As documented in the proto, the results contain a sequential list of transcription results corresponding to sequential portions of audio.

Metadata

Metadata

Assignees

Labels

api: speechIssues related to the Speech-to-Text API.release blockingRequired feature/issue must be fixed prior to next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions