-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Restoring datastore Gax exception re-mapping. #3163
Conversation
It is fine for now. I would personally prefer rethink |
👍 Worth filing an issue to track this? DERP on not running lint locally |
with patch1 as mock_constructor: | ||
ds_api = self._make_one() | ||
mock_constructor.assert_called_once_with() | ||
with patch2 as mock_lookup: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Nah.
My changes in #3146 should make that much easier in the workflow, since lint is moved into the individual packages. |
@lukesneeringer Naw it was just a DERP by me. |
Sure, but because I work inside packages, I often forget to |
Restoring datastore Gax exception re-mapping.
Fixes #2746.
See previous source for reference.
@lukesneeringer I don't really like doing this, but I'm not sure if there's a better way to remap the
GaxError
-s to ourgoogle.cloud
exceptions.