Speech API calls should be from the `Sample` object instead of directly from the client. ``` python # Before client.sync_recognize(sample) # After sample.sync_recognize() ``` See: https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2483#discussion_r82463142
Speech API calls should be from the
Sampleobject instead of directly from the client.See: #2483 (comment)