From d9987944156dd70429186bed29a6963c06348b3c Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Thu, 20 Feb 2020 14:47:23 -0700 Subject: [PATCH] translate: increase timeout [(#2937)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2937) --- translation/samples/snippets/beta_snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translation/samples/snippets/beta_snippets.py b/translation/samples/snippets/beta_snippets.py index 530932779a99..08ee5b72fe60 100644 --- a/translation/samples/snippets/beta_snippets.py +++ b/translation/samples/snippets/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))