Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modify admin pkg name in gapic #47

Merged
merged 1 commit into from Jul 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -45,7 +45,7 @@


_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution(
"google-cloud-datastore-admin",
"google-cloud-datastore",
).version


Expand Down
6 changes: 6 additions & 0 deletions synth.py
Expand Up @@ -49,6 +49,12 @@

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

s.replace(
"google/**/datastore_admin_client.py",
"google-cloud-datastore-admin",
"google-cloud-datstore"
)

# TODO(busunkim): Remove during the microgenerator transition.
# This re-orders the parameters to avoid breaking existing code.
num = s.replace(
Expand Down