Skip to content

Commit

Permalink
cleaned up metadata lines
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche authored Sep 7, 2023
1 parent 5518645 commit 0cc03bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions google/api_core/gapic_v1/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ def __call__(self, *args, timeout=DEFAULT, retry=DEFAULT, **kwargs):
# as not specified.
if metadata is None:
metadata = []
metadata = list(metadata)
metadata.extend(self._metadata)
kwargs["metadata"] = metadata
kwargs["metadata"] = (*self._metadata, *metadata)

return wrapped_func(*args, **kwargs)

Expand Down

0 comments on commit 0cc03bd

Please sign in to comment.