gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

Generate Python API client libraries from Protocol Buffers.

Results 352 gapic-generator-python issues
Sort by recently updated
recently updated
newest added

As we add test coverage for asynchronous and synchronous rest transport methods to `rest_transport_specific_tests` in `test_macros.j2`, the relevant macros should be cleaned up from the `rest_required_tests` macro to avoid generating...

type: cleanup
priority: p2

For a proto plus method, we do the following type conversion for a non-streaming response: ``` pb_resp = {{method.output.ident}}.pb(resp) ``` We need to investigate if this is needed for a...

type: bug
priority: p2

Update the credentials type hint in the async client constructor to include asynchronous credentials i.e. async credentials should also support `google.auth.aio.credentials.Credentials` which are required by the async rest transport. For...

type: cleanup
priority: p2

Ensure that the installed version of `google-api-core` has the necessary features required to use async rest transport. If the correct version is not installed, then an exception must be raised....

type: cleanup
priority: p1

Avoid setting the routing metadata field (`x-goog-request-params`) if it already exists in the passed in metadata, to prevent duplicate routing headers Fixes https://github.com/googleapis/gapic-generator-python/issues/2078

size: xl

Implement async rest client streaming api methods in the async rest transport layer to add support for async rest client streaming. Also add unit test coverage and add an e2e...

priority: p2
type: feature request

The credentials parameter in base rest transport has a type hint set to `Any` to support async and sync credential types in the parent rest transport classes. However, we should...

type: bug
priority: p2

Currently, we don't test if the retry logic is correctly applied to async gRPC or rest methods via `google.api_core.retry_async.AsyncRetry`. We should add tests to verify that the retry logic works...

type: process
priority: p2
test coverage

The return type of callable property methods in `rest_asyncio.py` is ignored to silence mypy errors by adding a `# type: ignore` comment. Follow up, investigate, and remove the comment by...

type: cleanup
priority: p2

Adds cred info to error details for 401/403/404 errors. See go/python-auth-error-message-improvement. Manually tested with KMS client: https://github.com/arithmetic1728/google-cloud-python/pull/1

size: l