-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[DO NOT MERGE] Spanner: Add empty lines, remove ~~unused~~needed imports (via synth). #8071
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
Conversation
…ent library generator.
| # limitations under the License. | ||
|
|
||
| import pkg_resources | ||
| import grpc_gcp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These imports are absolutely required: both modules are used below in the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like adding the extra line broke our replacement in synth.py:
google-cloud-python/spanner/synth.py
Lines 37 to 47 in ba1ddc2
| # Add grpcio-gcp options | |
| s.replace( | |
| "google/cloud/spanner_v1/gapic/transports/spanner_grpc_transport.py", | |
| "# limitations under the License.\n" "\n" "import google.api_core.grpc_helpers\n", | |
| "# limitations under the License.\n" | |
| "\n" | |
| "import pkg_resources\n" | |
| "import grpc_gcp\n" | |
| "\n" | |
| "import google.api_core.grpc_helpers\n", | |
| ) |
|
Superseded by #8103. |
This PR was generated using Autosynth. 🌈
Here's the log from Synthtool: