Skip to content

Commit

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

PiperOrigin-RevId: 504289125

Source-Link: googleapis/googleapis@38a48a4

Source-Link: googleapis/googleapis-gen@b2dc226
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJkYzIyNjYzZGJlNDdhOTcyYzhkOGMyZjhhNGRmMDEzZGFmZGNiYyJ9

* 🦉 Updates from OwlBot post-processor

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

* fix build

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people authored Jan 25, 2023
1 parent 5d3e1bf commit 9c266e1
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 21 deletions.
3 changes: 2 additions & 1 deletion packages/google-cloud-gke-hub/.coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ branch = True
[report]
show_missing = True
omit =
google/cloud/gkehub/multiclusteringress/__init__.py
google/cloud/gkehub/__init__.py
google/cloud/gkehub/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.gkehub import gapic_version as package_version
from google.cloud.gkehub_v1 import gapic_version as package_version

__version__ = package_version.__version__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.gkehub import gapic_version as package_version
from google.cloud.gkehub_v1 import gapic_version as package_version

__version__ = package_version.__version__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.gkehub import gapic_version as package_version
from google.cloud.gkehub_v1 import gapic_version as package_version

__version__ = package_version.__version__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.gkehub import gapic_version as package_version
from google.cloud.gkehub_v1beta1 import gapic_version as package_version

__version__ = package_version.__version__

Expand Down
18 changes: 4 additions & 14 deletions packages/google-cloud-gke-hub/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,28 +83,18 @@
"`projects/{p}/locations/{l}/memberships/{m}`"
)

# Work around gapic generator bug
s.replace(
library / "google/cloud/**/types/configmanagement.py",
"""Configuration for Policy Controller\n
Attributes""",
"""Configuration for Policy Controller\n
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\n
Attributes"""
)

# workaround bug in the generator
s.replace(
library / "google/cloud/gkehub_v1/configmanagement_v1/__init__.py",
"from google.cloud.gkehub.configmanagement import gapic_version as package_version",
"from google.cloud.gkehub import gapic_version as package_version"
"from google.cloud.gkehub.configmanagement_v1 import gapic_version as package_version",
"from google.cloud.gkehub_v1 import gapic_version as package_version"
)

# workaround bug in the generator
s.replace(
library / "google/cloud/gkehub_v1/multiclusteringress_v1/__init__.py",
"from google.cloud.gkehub.multiclusteringress import gapic_version as package_version",
"from google.cloud.gkehub import gapic_version as package_version"
"from google.cloud.gkehub.multiclusteringress_v1 import gapic_version as package_version",
"from google.cloud.gkehub_v1 import gapic_version as package_version"
)

excludes=[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-gke-hub",
"version": "1.7.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-gke-hub",
"version": "1.7.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 9c266e1

Please sign in to comment.