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 dandhlee committed Nov 18, 2022
1 parent e0bcfd4 commit 706d114
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 706d114

Please sign in to comment.