Skip to content

Commit 45c116e

Browse files
authored
chore: complete google-cloud-vision migration (#16672)
- Reformat with nox - Enable generation with librarian - Regenerate with librarian
1 parent 275b597 commit 45c116e

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

librarian.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3920,7 +3920,6 @@ libraries:
39203920
- tests/system/smoke_test.py
39213921
- tests/unit/test_decorators.py
39223922
- tests/unit/test_helpers.py
3923-
skip_generate: true
39243923
python:
39253924
library_type: GAPIC_COMBO
39263925
product_documentation_override: https://cloud.google.com/vision/docs/
Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
2-
"api_description": "allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.",
3-
"api_id": "vision.googleapis.com",
4-
"api_shortname": "vision",
5-
"client_documentation": "https://cloud.google.com/python/docs/reference/vision/latest",
6-
"default_version": "v1",
7-
"distribution_name": "google-cloud-vision",
8-
"issue_tracker": "https://issuetracker.google.com/issues?q=status:open%20componentid:187174",
9-
"language": "python",
10-
"library_type": "GAPIC_COMBO",
11-
"name": "vision",
12-
"name_pretty": "Cloud Vision",
13-
"product_documentation": "https://cloud.google.com/vision/docs/",
14-
"release_level": "stable",
15-
"repo": "googleapis/google-cloud-python",
16-
"requires_billing": false
2+
"api_description": "allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.",
3+
"api_id": "vision.googleapis.com",
4+
"api_shortname": "vision",
5+
"client_documentation": "https://cloud.google.com/python/docs/reference/vision/latest",
6+
"default_version": "v1",
7+
"distribution_name": "google-cloud-vision",
8+
"issue_tracker": "https://issuetracker.google.com/issues?q=status:open%20componentid:187174",
9+
"language": "python",
10+
"library_type": "GAPIC_COMBO",
11+
"name": "vision",
12+
"name_pretty": "Cloud Vision",
13+
"product_documentation": "https://cloud.google.com/vision/docs/",
14+
"release_level": "stable",
15+
"repo": "googleapis/google-cloud-python"
1716
}

packages/google-cloud-vision/google/cloud/vision/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
__version__ = package_version.__version__
1919

2020

21+
from google.cloud.vision_v1 import ImageAnnotatorClient
2122
from google.cloud.vision_v1.services.image_annotator.async_client import (
2223
ImageAnnotatorAsyncClient,
2324
)
24-
from google.cloud.vision_v1 import ImageAnnotatorClient
2525
from google.cloud.vision_v1.services.product_search.async_client import (
2626
ProductSearchAsyncClient,
2727
)

0 commit comments

Comments
 (0)