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

`rest_method_bad_request_test` macro generates unit tests to test a rest method call which raises a `BadRequest` error. We should refactor this macro and make it generic so that it generates unit...

type: cleanup
priority: p2

Currently, `run_transport_tests_for_config` is guarded and only generates tests for `rest` transport. Migrate `gRPC` tests into `run_transport_tests_for_config` and make any of the macros which are called within it more generic. The...

type: cleanup
priority: p2

The macro `shared_macros.create_interceptor_class` which generates an interceptor class for async / sync rest transport currently guards generation of asynchronous interceptor class methods for the following type of api methods: -...

priority: p2
type: feature request

See build log [here](https://github.com/googleapis/gapic-generator-python/actions/runs/10951846366/job/30409611496) where the mixin tests fail for Ads templates in PR https://github.com/googleapis/gapic-generator-python/pull/2175 See stack trace below ``` tests/system/test_mixins.py:75: _ _ _ _ _ _ _ _ _...

type: cleanup
priority: p2

Add `kind` property to transport in ads templates which was added in https://github.com/googleapis/gapic-generator-python/pull/2123

type: cleanup
priority: p2

In `prep_wrapped_messages_async_method` macro, update the mixin method names to use `transport_safe_name` similar to what we do for non-mixin methods within the same macro. The exact code location can be looked...

type: cleanup
priority: p2

We have the following assert statement in our unit tests for paginated methods: ``` assert response.raw_page is response ``` This statement is added particularly to add code coverage for bad...

type: bug
priority: p2

We want to generate `_Mixin` classes and `@property` methods into separate macros so that `_Method` and `_Mixin` classes can be defined all together and the @property methods for each can...

type: cleanup
priority: p2

The default type of credentials within `rest_asyncio.py.j2` needs to be updated to `google.auth.aio.credentials.Credentials` once we leverage `google.auth.aio` within the template. Consequently, the default type of the base rest class needs...

type: cleanup
priority: p2

The following parameters need to be supported in asynchronous REST transport class for feature parity with synchronous REST: ``` "google.api_core.client_options.ClientOptions.credentials_file", "google.api_core.client_options.ClientOptions.scopes", "google.api_core.client_options.ClientOptions.quota_project_id", "google.api_core.client_options.ClientOptions.client_cert_source", "google.api_core.client_options.ClientOptions.api_audience", ```

priority: p2
type: feature request