FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

NL GAPIC Shim by lukesneeringer · Pull Request #3590 · googleapis/google-cloud-python · GitHub

NL GAPIC Shim - #3590

Merged
lukesneeringer merged 6 commits into
nl-gapicfrom
nl-gapic-shim
Jul 26, 2017
Merged

NL GAPIC Shim#3590
lukesneeringer merged 6 commits into
nl-gapicfrom
nl-gapic-shim

Conversation

lukesneeringer commented Jul 6, 2017
edited
Loading

Copy link
Copy Markdown
Contributor

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.

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 6, 2017
lukesneeringer requested a review from dhermes July 6, 2017 21:02

dhermes commented Jul 6, 2017

Copy link
Copy Markdown
Contributor

@lukesneeringer What in particular would you like reviewed?

Copy link
Copy Markdown
Contributor Author

@dhermes Sanity check mostly.

Comment thread docs/vision/index.rst
gapic/api
gapic/types
gapic/v1/api
gapic/v1/types

This comment was marked as spam.

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)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Comment thread language/setup.py
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': 'jjg+google-cloud-python@google.com',
'author_email': 'googleapis-publisher@google.com',

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -0,0 +1,30 @@
# Copyright 2017, Google Inc. All rights reserved.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

# limitations under the License.
"""Unit tests."""

import mock

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

from google.cloud.proto.language.v1 import language_service_pb2


class CustomException(Exception):

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Comment thread vision/setup.py
REQUIREMENTS = [
'google-cloud-core >= 0.25.0, < 0.26dev',
'google-gax >= 0.15.7, < 0.16dev',
'google-gax >= 0.15.13, < 0.16dev',

This comment was marked as spam.

document=document, encoding_type=encoding_type)
self.assertEqual(expected_request, actual_request)

@mock.patch('google.gax.config.API_ERRORS', (CustomException, ))

This comment was marked as spam.

Copy link
Copy Markdown
Contributor Author

Merging this despite the PubSub Circle failure (which is unrelated).

lukesneeringer merged commit 193b1f4 into nl-gapic Jul 26, 2017
lukesneeringer deleted the nl-gapic-shim branch July 26, 2017 17:39
lukesneeringer mentioned this pull request Jul 26, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL