FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: remove repeated calls to self._get_reason by dermasmid · Pull Request #1513 · googleapis/google-api-python-client · GitHub

fix: remove repeated calls to self._get_reason - #1513

Merged
gcf-merge-on-green[bot] merged 1 commit into
googleapis:mainfrom
dermasmid:main
Sep 2, 2021
Merged

fix: remove repeated calls to self._get_reason#1513
gcf-merge-on-green[bot] merged 1 commit into
googleapis:mainfrom
dermasmid:main

Conversation

dermasmid commented Sep 2, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

self._get_reason is being called in __init__ (#1185) , so why not save it then?
also in the __repr__ function we got the reason by calling the _get_reason function right in the beginning, but was then called again.

dermasmid requested a review from a team September 2, 2021 05:23
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 2, 2021
parthea added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Sep 2, 2021
yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Sep 2, 2021

parthea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the fix, @dermasmid !

parthea added the automerge: exact Summon MOG for automerging, but approvals need to be against the latest commit label Sep 2, 2021
gcf-merge-on-green Bot merged commit d5cf4e0 into googleapis:main Sep 2, 2021
gcf-merge-on-green Bot removed the automerge: exact Summon MOG for automerging, but approvals need to be against the latest commit label Sep 2, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL