Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 94e9d78

Browse filesBrowse files
cfperezdhermes
authored andcommitted
Correct speech Operation docstring (#3379)
ValueError is raised when there are no results, not when there is more than one result, which is what the docstring says.
1 parent 0f4d876 commit 94e9d78
Copy full SHA for 94e9d78

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎google-cloud-speech/google/cloud/speech/operation.py

Copy file name to clipboardExpand all lines: google-cloud-speech/google/cloud/speech/operation.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _update_state(self, operation_pb):
5050
:class:`~google.longrunning.operations_pb2.Operation`
5151
:param operation_pb: Protobuf to be parsed.
5252
53-
:raises ValueError: If there is more than one entry in ``results``.
53+
:raises ValueError: If there are no ``results`` from the operation.
5454
"""
5555
super(Operation, self)._update_state(operation_pb)
5656

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.