-
Notifications
You must be signed in to change notification settings - Fork 309
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!: avoid collision with built-in functions by renaming type property to type_ #316
Conversation
autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters.
https://github.com/googleapis/python-talent/blob/ef045e8eb348db36d7a2a611e6f26b11530d273b/samples/snippets/noxfile_config.py#L27-L32 `BUILD_SPECIFIC_GCLOUD_PROJECT` is an alternate project used for sample tests that do poorly with concurrent runs on the same project. Source-Author: Bu Sun Kim <[email protected]> Source-Date: Wed Sep 30 13:06:03 2020 -0600 Source-Repo: googleapis/synthtool Source-Sha: 9b0da5204ab90bcc36f8cd4e5689eff1a54cc3e4 Source-Link: googleapis/synthtool@9b0da52
Note: there are test failures for the We have Since we're making breaking changes anyway, would it make sense to remove this method until there's a concrete use case (which can be tested via system test / sample)? |
@@ -89,7 +89,7 @@ class StandardSqlField(proto.Message): | |||
|
|||
name = proto.Field(proto.STRING, number=1) | |||
|
|||
type = proto.Field(proto.MESSAGE, number=2, message=StandardSqlDataType,) | |||
type_ = proto.Field(proto.MESSAGE, number=2, message=StandardSqlDataType,) |
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.
Ugh, this is a breaking change.
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.
From talking on the Yoshi Python Chat, we have to take this :-(
Just added a commit that handles the rename in to_standard_sql
I'd like to wait to merge this until we make a release with the latest fixes. After we merge this, we'll be stuck not being able to release until #319 is implemented. |
BREAKING CHANGE:
type
is renamed totype_
to avoid conflict with built-in functions (introduced in googleapis/gapic-generator-python#595)This PR was generated using Autosynth. 🌈
Synth log will be available here:
https://source.cloud.google.com/results/invocations/3d94939f-aa97-49eb-abc2-0a9a78c0de85/targets
Source-Link: googleapis/synthtool@9b0da52