Skip to content

Commit 7e01ffc

Browse files
nnegreydandhlee
authored andcommitted
translate: increase timeout [(#2937)](#2937)
1 parent 8a24a79 commit 7e01ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translation/samples/snippets/beta_snippets.py

+1-1
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)