| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
We'll also now need to update https://github.com/GoogleCloudPlatform/google-cloud-python-happybase |
Sorry, something went wrong.
|
@nathanielmanistaatgoogle It's also worth noting that GAX is still using the beta API /cc @bjwatson I realized that and had to modify google.gax.grpc.exc_to_code to allow for _Rendezvous exceptions |
Sorry, something went wrong.
|
I created googleapis/gax-python#126 to track this. |
Sorry, something went wrong.
| from grpc.beta import implementations | ||
| from google.gax.grpc import exc_to_code as beta_exc_to_code | ||
| import grpc | ||
| from grpc._channel import _Rendezvous |
Also fixing a test mock failure for gcloud._helpers.
|
|
||
| def __exit__(self, exc_type, exc_val, exc_t): | ||
| """Stops the client as a context manager.""" | ||
| self.stop() |
|
Did we ditch the timeouts because the GA API no longer supports them? I like the simplicity on our side, but worry that users might still need them. |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2130.
Most noteworthy is that the "stable" gRPC doesn't have __exit__ and __enter__ and that the stubs are actual classes (instead of some instance of a private and esoteric class).
When scanning for the case-insenstive string grpc I also found some things to change in other parts of the codebase I came across (e.g. a virtualenv root path falling back to protoc)
@nathanielmanistaatgoogle PTAL
In particular we went from the public exception type grpc.framework.interfaces.face.face.AbortionError to the private grpc._channel._Rendezvous.
How are we or users supposed to build in error handling? Should we catch grpc.Error (which _Rendezvous inherits from)?
BIG WORRY: Every system tests finishes with