From 2ee5c4819dfd5f5575cec2177be62b13d843f6f3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 8 Feb 2023 11:51:30 -0500 Subject: [PATCH] chore: Update gapic-generator-python to v1.8.4 (#442) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.8.4 PiperOrigin-RevId: 507808936 Source-Link: https://github.com/googleapis/googleapis/commit/64cf8492b21778ce62c66ecee81b468a293bfd4c Source-Link: https://github.com/googleapis/googleapis-gen/commit/53c48cac153d3b37f3d2c2dec4830cfd91ec4153 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNjNDhjYWMxNTNkM2IzN2YzZDJjMmRlYzQ4MzBjZmQ5MWVjNDE1MyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * remove cleanup code causing samples to fail * restore --------- Co-authored-by: Owl Bot Co-authored-by: Anthonios Partheniou --- samples/api-client/manager/manager_test.py | 2 +- setup.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/api-client/manager/manager_test.py b/samples/api-client/manager/manager_test.py index 7fa434a7..5e62781a 100644 --- a/samples/api-client/manager/manager_test.py +++ b/samples/api-client/manager/manager_test.py @@ -106,7 +106,7 @@ def clean_up_registries(): "gatewayId": gateway_id, } client.projects().locations().registries().unbindDeviceFromGateway( - parent=registry.get("name"), body=bind_request + parent=registry.name, body=bind_request ).execute() gateway_name = "{}/devices/{}".format(registry.name, gateway_id) client.projects().locations().registries().devices().delete( diff --git a/setup.py b/setup.py index d419b81b..80480257 100644 --- a/setup.py +++ b/setup.py @@ -56,9 +56,7 @@ if package.startswith("google") ] -namespaces = ["google"] -if "google.cloud" in packages: - namespaces.append("google.cloud") +namespaces = ["google", "google.cloud"] setuptools.setup( name=name,