Uh oh!
There was an error while loading. Please reload this page.
Translate GA - #3650
Conversation
This commit does two things: * Moves the library proper into a versioned namespace. * Removes the BASE/NMT enum; the API producers want this to be a plain string. And then it flips the version number to 1.0.
| session.virtualenv_dirname = 'unit-' + python_version | ||
| # Install all test dependencies, then install this package in-place. | ||
| session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes
left a comment
There was a problem hiding this comment.
@lukesneeringer I'm surprised there are so few changes here. What am I missing?
LGTM
| :param model: (Optional) The model used to translate the text. The | ||
| only accepted values are :attr:`BASE` and :attr:`NMT`. | ||
| :param model: (Optional) The model used to translate the text, such | ||
| as ``'base'`` or ``'nmt'``. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| setup( | ||
| name='google-cloud-translate', | ||
| version='0.25.0', | ||
| version='1.0.0', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| 'Me llamo Jeff', 'My name is Jeff'] | ||
| translations = Config.CLIENT.translate( | ||
| values, target_language='de', model=translate.NMT) | ||
| values, target_language='de', model='nmt') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This pull request bumps Translate to GA status, and should be followed by a release.
There are a couple of last minute changes:
translatetotranslate_v2, with a alias intranslate.