Skip to content

Commit

Permalink
chore: Increase Batch Translate Text timeout (#225)
Browse files Browse the repository at this point in the history
Change-Id: I0230ae19a14112009058100c0bb789a7d7a1543a

Fixes #199  🦕
  • Loading branch information
aribray committed Aug 29, 2021
1 parent 4d2949b commit eca363d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translation/samples/snippets/beta_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def batch_translate_text(project_id, input_uri, output_uri):
}
)

result = operation.result(timeout=320)
result = operation.result(timeout=400)

print("Total Characters: {}".format(result.total_characters))
print("Translated Characters: {}".format(result.translated_characters))
Expand Down

0 comments on commit eca363d

Please sign in to comment.