-
Notifications
You must be signed in to change notification settings - Fork 69
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
chore: add template for metadata #2253
Conversation
@@ -631,7 +631,7 @@ class {{ service.client_name }}(metaclass={{ service.client_name }}Meta): | |||
*, | |||
retry: OptionalRetry = gapic_v1.method.DEFAULT, | |||
timeout: Union[float, object] = gapic_v1.method.DEFAULT, | |||
metadata: Sequence[Tuple[str, str]] = (), | |||
{{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
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.
I think these macros are no longer used and are adding a toil to whenever a change needs to be made to the client methods i.e. see the linked comment above.
I'd suggest to get rid of these macros.
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.
I filed #2255 for this clean up step. We still need to remove usage here: https://github.com/search?q=repo%3Agoogleapis%2Fgoogleapis%20add-iam-methods&type=code
This reverts commit a06fdae.
Towards #2250