gapic-generator-python
gapic-generator-python copied to clipboard
Generate Python API client libraries from Protocol Buffers.
Remove workaround in `google-cloud-trace` and `google-cloud-kms` and `google-cloud-dataflow-client`
- In `google-cloud-trace`: `type` is listed as a reserved term in `gapic-generator-python` [here](https://github.com/googleapis/gapic-generator-python/blob/ecf4bb0bae89c87afa5bb3c6dd307793a4e7e80b/gapic/utils/reserved_names.py#L88). There is a client specific workaround in owlbot.py for `google-cloud-trace` to revert `type` as a reserved term....
Once b/221416306 is fixed, we should files bugs to remove references to `googleapis` master branch in proto comments which appear in the generated clients. See https://github.com/googleapis/google-cloud-python/issues/11832 https://github.com/googleapis/google-cloud-python/issues/11074
The warning below appears when running showcase tests. See build log [here](https://github.com/googleapis/gapic-generator-python/actions/runs/7021982390/job/19105328609?pr=1875): ``` __________ ERROR at teardown of test_async_stream_stream_passing_dict __________ def _close_event_loop() -> None: policy = asyncio.get_event_loop_policy() try: loop =...
This PR adds tests for api-core [streaming retries](https://github.com/googleapis/python-api-core/pull/495) in the gapic showcase system tests, using Streaming Sequences There is currently one expected failing test: when testing a stream that sends...
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: - [ ] Make sure...
The Google Cloud Monitoring Library does not provide any resources for pylance which makes for a terrible dev experience as the library is poorly documented in a developer-facing manor on...
There is a tool to check and update the constraints files which as added in https://github.com/googleapis/python-test-utils/pull/8. See the instructions in https://github.com/googleapis/python-test-utils/pull/8#issue-809740325 for information on running the tool. We could run...
Hi all, Im running into issues when trying to create a tag on a regional resource (e.g. a project) with the following code based on the [Resource manager docs](https://cloud.google.com/python/docs/reference/cloudresourcemanager/latest/google.cloud.resourcemanager_v3.services.tag_bindings.TagBindingsClient#google_cloud_resourcemanager_v3_services_tag_bindings_TagBindingsClient_create_tag_binding): ```python...
To reproduce with version [1.11.9](https://github.com/googleapis/gapic-generator-python/releases/tag/v1.11.9): 1. Add the following to `tests/fragments`: ``` # tests/fragments/test_recursive_messages_oneof.proto syntax = "proto3"; package google.fragment; import "google/api/client.proto"; service MyService { option (google.api.default_host) = "my.example.com"; rpc MyMethod(MethodRequest)...
**Is your feature request related to a problem? Please describe.** Required protobufs should be exported directly if required by the library. Currently, `google.protobuf` must be imported in order to be...