Skip to content

Commit 2d44345

Browse files
chore(python): fix warehouse-package-name for binaryauthorization v1/v1beta1 (#191)
* chore(python): fix warehouse-package-name for binaryauthorization v1/v1beta1 PiperOrigin-RevId: 491634075 Source-Link: googleapis/googleapis@8050816 Source-Link: googleapis/googleapis-gen@78e9b12 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzhlOWIxMjkwMDc2MDEwNGE2ODljNTNhNDliMDZlOWUyNDc3MTUzYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * remove replacement in owlbot.py Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent d9fad11 commit 2d44345

File tree

40 files changed

+39
-47
lines changed

40 files changed

+39
-47
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Marker file for PEP 561.
2-
# The google-cloud-binaryauthorization package uses inline types.
2+
# The google-cloud-binary-authorization package uses inline types.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Marker file for PEP 561.
2-
# The google-cloud-binaryauthorization package uses inline types.
2+
# The google-cloud-binary-authorization package uses inline types.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Marker file for PEP 561.
2-
# The google-cloud-binaryauthorization package uses inline types.
2+
# The google-cloud-binary-authorization package uses inline types.

packages/google-cloud-binary-authorization/owlbot.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@
3636
shutil.rmtree("samples/generated_samples", ignore_errors=True)
3737
clean_up_generated_samples = False
3838

39-
# Rename package to 'google-cloud-binary-authorization'
40-
# Remove once cl/490002122 is submitted
41-
s.replace(
42-
[library / "google/**/*.py", library / "tests/**/*.py"],
43-
"google-cloud-binaryauthorization",
44-
"google-cloud-binary-authorization",
45-
)
46-
4739
if library.name == "v1":
4840
# Fix import of grafeas
4941
s.replace(

packages/google-cloud-binary-authorization/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# It may require modifications to work in your environment.
2121

2222
# To install the latest published package dependency, execute the following:
23-
# python3 -m pip install google-cloud-binaryauthorization
23+
# python3 -m pip install google-cloud-binary-authorization
2424

2525

2626
# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async]

packages/google-cloud-binary-authorization/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# It may require modifications to work in your environment.
2121

2222
# To install the latest published package dependency, execute the following:
23-
# python3 -m pip install google-cloud-binaryauthorization
23+
# python3 -m pip install google-cloud-binary-authorization
2424

2525

2626
# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync]

packages/google-cloud-binary-authorization/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# It may require modifications to work in your environment.
2121

2222
# To install the latest published package dependency, execute the following:
23-
# python3 -m pip install google-cloud-binaryauthorization
23+
# python3 -m pip install google-cloud-binary-authorization
2424

2525

2626
# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async]

packages/google-cloud-binary-authorization/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# It may require modifications to work in your environment.
2121

2222
# To install the latest published package dependency, execute the following:
23-
# python3 -m pip install google-cloud-binaryauthorization
23+
# python3 -m pip install google-cloud-binary-authorization
2424

2525

2626
# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync]

packages/google-cloud-binary-authorization/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# It may require modifications to work in your environment.
2121

2222
# To install the latest published package dependency, execute the following:
23-
# python3 -m pip install google-cloud-binaryauthorization
23+
# python3 -m pip install google-cloud-binary-authorization
2424

2525

2626
# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async]

packages/google-cloud-binary-authorization/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# It may require modifications to work in your environment.
2121

2222
# To install the latest published package dependency, execute the following:
23-
# python3 -m pip install google-cloud-binaryauthorization
23+
# python3 -m pip install google-cloud-binary-authorization
2424

2525

2626
# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync]

0 commit comments

Comments
 (0)