| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@lukesneeringer What in particular would you like reviewed? |
Sorry, something went wrong.
|
@dhermes Sanity check mostly. |
Sorry, something went wrong.
| gapic/api | ||
| gapic/types | ||
| gapic/v1/api | ||
| gapic/v1/types |
| for name, message in get_messages(language_service_pb2).items(): | ||
| message.__module__ = 'google.cloud.language_v1.types' | ||
| setattr(sys.modules[__name__], name, message) | ||
| names.append(name) |
| SETUP_BASE = { | ||
| 'author': 'Google Cloud Platform', | ||
| 'author_email': 'jjg+google-cloud-python@google.com', | ||
| 'author_email': 'googleapis-publisher@google.com', |
| @@ -0,0 +1,30 @@ | |||
| # Copyright 2017, Google Inc. All rights reserved. | |||
| # limitations under the License. | ||
| """Unit tests.""" | ||
|
|
||
| import mock |
| from google.cloud.proto.language.v1 import language_service_pb2 | ||
|
|
||
|
|
||
| class CustomException(Exception): |
| REQUIREMENTS = [ | ||
| 'google-cloud-core >= 0.25.0, < 0.26dev', | ||
| 'google-gax >= 0.15.7, < 0.16dev', | ||
| 'google-gax >= 0.15.13, < 0.16dev', |
| document=document, encoding_type=encoding_type) | ||
| self.assertEqual(expected_request, actual_request) | ||
|
|
||
| @mock.patch('google.gax.config.API_ERRORS', (CustomException, )) |
|
Merging this despite the PubSub Circle failure (which is unrelated). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This implements the manual code and documentation to augment moving Natural Language to GAPIC only.
Using nl-gapic as a base branch so reviewers do not have to look at the auto-gen.