| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
All returns from _parse_grpc_error_details must return a 2-tuple.
Sorry, something went wrong.
Co-authored-by: Tres Seaver <tseaver@palladion.com>
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
Sorry, something went wrong.
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
Sorry, something went wrong.
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
Sorry, something went wrong.
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
Sorry, something went wrong.
|
@atulep The CLA bot has (once again) lost its tiny mind. You'll need to remove the cla: no label and add the cla: yes label manually. |
Sorry, something went wrong.
Hey @tseaver, it seems to complain because email used in the commit "@palladion.com" is different than the one you used to sign CLA with. The docs suggest "If the email address does not match an email found, please ask the contributor to either add their new email address to their CLA or rebase their commits with their correct email address." Can you please do that? |
Sorry, something went wrong.
There was a problem hiding this comment.
Left one comment, other than that, looks good to me. :)
Sorry, something went wrong.
The error message is incorrect -- all my commits in the googleapis / GoogleCloudPlatform organzations for the past seven years have been signed with that e-mail address, which is also the only one associated with my Github profile. Sometimes (I don't know that pattern) the bot balks at merged through-the-web suggestions (which is the case here). |
Sorry, something went wrong.
I checked the internal dashboards, and it shows you signed CLA with a "@gmail.com" address. This is the official instruction I was told to follow:
I know you're an active contributor, so this is really weird to see an CLA issue. Can you share a similar issue from the past where a Googler manually removed the CLA label? Thank you. |
Sorry, something went wrong.
|
@tswast, @busunkim96 Can one of you please tag in on the manual CLA flip? |
Sorry, something went wrong.
|
@summer-ji-eng @tseaver - finally addressed your feedback. Thanks for your comments! |
Sorry, something went wrong.
Requested changes made in 331d6e3
|
@atulep the CLA flag has to be cleared again after pushing any commit, even a merge. |
Sorry, something went wrong.
There was a problem hiding this comment.
🚀
Sorry, something went wrong.
|
@tseaver I manually flipped the flag but it still blocks me from merging. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good, just some nitpicking.
Sorry, something went wrong.
| if not self._error_info: | ||
| return None | ||
| return self._error_info.reason |
There was a problem hiding this comment.
Nit: we can simplify this to
return self._error_info.reason if self._error_info else None
Sorry, something went wrong.
| if not self._error_info: | ||
| return None | ||
| return self._error_info.domain |
There was a problem hiding this comment.
Same here: we can use conditional expressions
Sorry, something went wrong.
| if not self._error_info: | ||
| return None | ||
| return self._error_info.metadata |
There was a problem hiding this comment.
And here, same as above.
Sorry, something went wrong.
| error_info = list( | ||
| filter( | ||
| lambda detail: detail.get("@type", "") | ||
| == "type.googleapis.com/google.rpc.ErrorInfo", | ||
| details, | ||
| ) | ||
| ) |
There was a problem hiding this comment.
Nit: it's more idiomatic to use list comprehensions than list and filter.
error_info_type = "type.googleapis.com/google.rpc.ErrorInfo"
error_info = [d for d in details if d.get("@type", "") == error_info_type]
Sorry, something went wrong.
|
Closing this in favor of #315. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adds error_info field to GoogleAPICallError, as requested in #286.