Skip to content

Commit

Permalink
remove whitelist replace with allowlist [(#4050)](#4050)
Browse files Browse the repository at this point in the history
  • Loading branch information
leahecole authored and danoscarmike committed Jul 31, 2020
1 parent 14b2159 commit 5761870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translation/samples/snippets/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def translate_text_with_model(target, text, model='nmt'):
# [START translate_text_with_model]
"""Translates text into the target language.
Make sure your project is whitelisted.
Make sure your project is allowlisted.
Target must be an ISO 639-1 language code.
See https://g.co/cloud/translate/v2/translate-reference#supported_languages
Expand Down

0 comments on commit 5761870

Please sign in to comment.