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

Commit

Permalink
translate: increase timeout [(#2937)](GoogleCloudPlatform/python-docs…
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and danoscarmike committed Jul 31, 2020
1 parent 1e1e5fa commit a4e614e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/snippets/beta_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a4e614e

Please sign in to comment.