gax-python
gax-python copied to clipboard
Google API Extensions for Python
From https://github.com/googleapis/gax-python/blob/85892ef3f3b356dd68efc2541a86526eccc7c5a9/google/gax/__init__.py#L673 (Removing TODOs in code in favor of githb)
Some APIs can benefit from using JWT-based credentials over OAuth 2.0-based credentials. Those APIs should upgrade to `jwt.OnDemandCredentials` if they are provided an instance of `google.auth.credentials.Signing`. So, for example: ```python...
### What: Improve test coverage in `gax-python`. Areas of inadequate coverage are detailed in reports like https://codecov.io/gh/googleapis/gax-python/tree/d59635e37d2420908a2828da8f54c0bbbd4cf4e6/google/gax ### Why: We already have 97.2% coverage, which is very good, but we...
The client `google.gapic.longrunning` is passed certain information; this should include the `client_config`, which should take precedence over the values in `operations_client_config.json`. Currently, the `retry_params` in the latter file seem to...
In addition to @eoogbe's upcoming work for unit tests on auto-gen code, configure CI to run at least some of the google-cloud-python system tests against new versions of GAX.
The recent addition of a use of `multiprocessing` has broken this on Google App Engine (as it doesn't support mp). https://github.com/googleapis/gax-python/blame/4e15ca6412b54950c20705a72cda54ee27ba9436/google/gax/__init__.py#L35 Upon execution (truncated): ``` [exec] File "/path-to-packages/google/gax/__init__.py", line 35,...
Currently we have CallSettings and CallOptions, and it's hard to say their roles and the differences. Actually CallSettings is the settings (or configurations) for an API call (or a method),...
What: Use `datetime.timedelta` for the gRPC timeout and the bundling `delay_threshold`. Currently we use numeric values, but we should additionally support Pythonic `datetime.timedelta` objects. Why: Be more Pythonic.
For each method, the generated docs currently says that a GaxError is raised if the RPC is aborted. It should instead document: a) What GAX errors are commonly raised by...
We've agreed that the bundling request size is to be computed by summing the bundled field sizes, with a 10% buffer to account for the underapproximation of the total request...