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

Removing this file allows the Ads library to successfully generate when using NextGen protos. When present, the code gen process fails with a Sig 9 error.

size: m

Add typing to currently untypes method

size: m

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [V] Make sure to...

size: xs

Thanks for stopping by to let us know something could be better! **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/)...

3.15.0 alpha 1 is expected 2025-10-14 as per https://peps.python.org/pep-0790 . This bug tracks adding presubmits for the alpha release.

type: process
priority: p2

We have some helper functions like `_use_client_cert_effective`, which are repeatedly generated across files. We should try to consolidate them into shared code --- Source: > Each service will have this...

type: cleanup
priority: p3

Recently, we have been adding conditionals that perform different logic depending on the python version or dependency versions (https://github.com/googleapis/gapic-generator-python/pull/2477, https://github.com/googleapis/gapic-generator-python/pull/2472) Individual coverage checks aren't aware of the big picture, so...

type: cleanup
priority: p3

We have been seeing flakes in the showcase tests: ``` FAILED tests/system/test_lro.py::test_lro[rest] - google.api_core.exceptions.NotFound: 404 GET http://localhost:7469/v1beta1/operations/google.showcase.v1beta1.Echo/Wait/CgsIu/NyAYQ2IfcLBo8CjpUaGUgaGFpbCBpbiBXYWxlcyBmYWxscyBtYWlubHkgb24gdGhlIHNuYWlscy4uLmV2ZW50dWFsbHku: Operation "operations/google.showcase.v1beta1.Echo/Wait/CgsIu/NyAYQ2IfcLBo8CjpUaGUgaGFpbCBpbiBXYWxlcyBmYWxscyBtYWlubHkgb24gdGhlIHNuYWlscy4uLmV2ZW50dWFsbHku" not found. ```

type: cleanup
priority: p3

Test coverage is incorrectly configured, and is trying to ananlyze non-python files as if they are python code #### Environment details - `gapic-generator` version: `pip show gapic-generator` - https://github.com/googleapis/gapic-generator-python/actions/runs/19183909674/job/54846602382?pr=2472 ####...

``` FAILED tests/unit/gapic/showcase_v1beta1/test_echo.py::test_echo_api_version_header_async - Failed: async def functions are not natively supported. ``` Generated test `test__api_version_header_async` is failing because the async test code is not marked with `@pytest.mark.asyncio` It's not...

type: bug
priority: p2