From efdc468654bcf28e6cc14570b90c083a2fe370c1 Mon Sep 17 00:00:00 2001 From: nnegrey Date: Wed, 19 Feb 2020 15:58:19 -0700 Subject: [PATCH] translate: increase timeout --- translate/cloud-client/beta_snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate/cloud-client/beta_snippets.py b/translate/cloud-client/beta_snippets.py index 530932779a99..08ee5b72fe60 100644 --- a/translate/cloud-client/beta_snippets.py +++ b/translate/cloud-client/beta_snippets.py @@ -70,7 +70,7 @@ def batch_translate_text(project_id, input_uri, output_uri): input_configs=[input_config], output_config=output_config) - result = operation.result(90) + result = operation.result(180) print(u'Total Characters: {}'.format(result.total_characters)) print(u'Translated Characters: {}'.format(result.translated_characters))