Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit a4e614e

Browse files
nnegreydanoscarmike
authored andcommitted
translate: increase timeout [(#2937)](GoogleCloudPlatform/python-docs-samples#2937)
1 parent 1e1e5fa commit a4e614e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/beta_snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def batch_translate_text(project_id, input_uri, output_uri):
7070
input_configs=[input_config],
7171
output_config=output_config)
7272

73-
result = operation.result(90)
73+
result = operation.result(180)
7474

7575
print(u'Total Characters: {}'.format(result.total_characters))
7676
print(u'Translated Characters: {}'.format(result.translated_characters))

0 commit comments

Comments
 (0)