Skip to content

Commit e75317a

Browse files
authored
translate: increase timeout (#2937)
1 parent 0715f7d commit e75317a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translate/cloud-client/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)