Skip to content

Commit 5b5011d

Browse files
authored
fix: modify admin pkg name in gapic (#47)
1 parent 592c7aa commit 5b5011d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

google/cloud/datastore_admin_v1/gapic/datastore_admin_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution(
48-
"google-cloud-datastore-admin",
48+
"google-cloud-datastore",
4949
).version
5050

5151

synth.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949

5050
s.move(library / "google/cloud/datastore_admin_v1/proto")
5151

52+
s.replace(
53+
"google/**/datastore_admin_client.py",
54+
"google-cloud-datastore-admin",
55+
"google-cloud-datstore"
56+
)
57+
5258
# TODO(busunkim): Remove during the microgenerator transition.
5359
# This re-orders the parameters to avoid breaking existing code.
5460
num = s.replace(

0 commit comments

Comments
 (0)