-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Update samples for google-cloud-speech to improve usability #11248
Copy link
Copy link
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
An issue was filed in
google-cloud-pythonrelated to usability issues with thegoogle-cloud-speechsample located here.Currently there are 2 imports in
speech/snippets/transcribe_streaming_v2.pywith similar names.SpeechClientandcloud_speechcould be confusing to readers as they appear to be similar.Right now we have
Instead we could have
or this could also work