8000 Move speech methods to `Sample`. · Issue #2516 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

Skip to content
Move speech methods to Sample. #2516
@daspecster

Description

@daspecster

Speech API calls should be from the Sample object instead of directly from the client.

# Before
client.sync_recognize(sample)

# After
sample.sync_recognize()

See: #2483 (comment)

Metadata

Metadata

Assignees

Labels

api: speechIssues related to the Speech-to-Text API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0