Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
chore: Update gapic-generator-python to v1.11.9 (#559)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.11.7

PiperOrigin-RevId: 573230664

Source-Link: googleapis/googleapis@93beed3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/f4a4edaa8057639fcf6adf9179872280d1a8f651
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjRhNGVkYWE4MDU3NjM5ZmNmNmFkZjkxNzk4NzIyODBkMWE4ZjY1MSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: Update gapic-generator-python to v1.11.8

PiperOrigin-RevId: 574178735

Source-Link: googleapis/googleapis@7307199

Source-Link: https://github.com/googleapis/googleapis-gen/commit/ce3af21b7c559a87c2befc076be0e3aeda3a26f0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2UzYWYyMWI3YzU1OWE4N2MyYmVmYzA3NmJlMGUzYWVkYTNhMjZmMCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: Update gapic-generator-python to v1.11.9

PiperOrigin-RevId: 574520922

Source-Link: googleapis/googleapis@5183984

Source-Link: https://github.com/googleapis/googleapis-gen/commit/a59af19d4ac6509faedf1cc39029141b6a5b8968
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTU5YWYxOWQ0YWM2NTA5ZmFlZGYxY2MzOTAyOTE0MWI2YTViODk2OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update index.rst; remove unused files

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Oct 20, 2023
1 parent c3fe412 commit 1a0aef4
Show file tree
Hide file tree
Showing 17 changed files with 1,421 additions and 463 deletions.
16 changes: 8 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ API. By default, you will get ``v1``, the latest stable version.
.. toctree::
:maxdepth: 2

vision_v1/services
vision_v1/types
vision_v1/services_
vision_v1/types_


A new beta release with additional features over the current stable version,
Expand All @@ -96,8 +96,8 @@ usual beta admonishment (changes are possible, etc.) applies.
.. toctree::
:maxdepth: 2

vision_v1p4beta1/services
vision_v1p4beta1/types
vision_v1p4beta1/services_
vision_v1p4beta1/types_

Previous beta releases ``v1p3beta1`` and ``v1p2beta1`` are provided as well.

Expand All @@ -106,17 +106,17 @@ An API and type reference is provided for ``v1p3beta1``:
.. toctree::
:maxdepth: 2

vision_v1p3beta1/services
vision_v1p3beta1/types
vision_v1p3beta1/services_
vision_v1p3beta1/types_


An API and type reference is provided for ``v1p2beta1``:

.. toctree::
:maxdepth: 2

vision_v1p2beta1/services
vision_v1p2beta1/types
vision_v1p2beta1/services_
vision_v1p2beta1/types_

Migration Guide
---------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
34 changes: 18 additions & 16 deletions tests/unit/gapic/vision_v1/test_image_annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,8 +1585,9 @@ def test_batch_annotate_images_rest(request_type):
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -1656,10 +1657,9 @@ def test_batch_annotate_images_rest_required_fields(
response_value = Response()
response_value.status_code = 200

pb_return_value = image_annotator.BatchAnnotateImagesResponse.pb(
return_value
)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -1788,8 +1788,9 @@ def test_batch_annotate_images_rest_flattened():
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateImagesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)
response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value

Expand Down Expand Up @@ -1854,8 +1855,9 @@ def test_batch_annotate_files_rest(request_type):
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -1925,10 +1927,9 @@ def test_batch_annotate_files_rest_required_fields(
response_value = Response()
response_value.status_code = 200

pb_return_value = image_annotator.BatchAnnotateFilesResponse.pb(
return_value
)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)

response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value
Expand Down Expand Up @@ -2059,8 +2060,9 @@ def test_batch_annotate_files_rest_flattened():
# Wrap the value into a proper Response obj
response_value = Response()
response_value.status_code = 200
pb_return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(pb_return_value)
# Convert return value to protobuf type
return_value = image_annotator.BatchAnnotateFilesResponse.pb(return_value)
json_return_value = json_format.MessageToJson(return_value)
response_value._content = json_return_value.encode("UTF-8")
req.return_value = response_value

Expand Down
Loading

0 comments on commit 1a0aef4

Please sign in to comment.