Conversation
vision/.coveragerc
Outdated
|
|
||
| [report] | ||
| fail_under = 100 | ||
| # fail_under = 100 |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
vision/MANIFEST.in
Outdated
| @@ -1,4 +1,4 @@ | |||
| include README.rst LICENSE | |||
| include README.rst LICENSE requirements.txt | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| @@ -0,0 +1 @@ | |||
| __import__('pkg_resources').declare_namespace(__name__) | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| _ALL_SCOPES = ('https://www.googleapis.com/auth/cloud-platform', ) | ||
|
|
||
| def __init__(self, | ||
| service_path=SERVICE_ADDRESS, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| @@ -1,4 +1,4 @@ | |||
| # Copyright 2016 Google Inc. | |||
| # Copyright 2017, Google Inc. All rights reserved. | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| from __future__ import absolute_import | ||
|
|
||
| from google.cloud.gapic.vision.v1 import image_annotator_client as iac |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
vision/google/cloud/vision_v1.py
Outdated
| from google.cloud.gapic.vision.v1 import enums | ||
|
|
||
| from google.cloud.proto.vision.v1 import geometry_pb2 as geometry | ||
| from google.cloud.proto.vision.v1 import image_annotator_pb2 as image_annotator |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| @add_single_feature_methods | ||
| class ImageAnnotatorClient(VisionHelpers, iac.ImageAnnotatorClient): | ||
| __doc__ = iac.ImageAnnotatorClient.__doc__ | ||
| enums = enums |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
vision/setup.py
Outdated
| 'zip_safe': False, | ||
| 'classifiers': [ | ||
| cur_dir = os.path.realpath(os.path.dirname(__file__)) | ||
| with io.open('%s/requirements.txt' % cur_dir) as requirements_file: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
f18fd9e to
7249a15
Compare
| @@ -1,4 +1,4 @@ | |||
| include README.rst LICENSE | |||
| include README.rst LICENSE requirements.txt | |||
| recursive-include google *.json *.proto | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This commit removes the entire Vision manual layer and replaces it with a thin wrapper around the GAPIC.
It makes several other changes:
Tagging this "do not merge" for now while other questions about this are worked out.