gapic-generator-python
gapic-generator-python copied to clipboard
Generate Python API client libraries from Protocol Buffers.
PR #1442 CI is failing in `test_repeat_data_simple_path_field_headers` because the field path to the enum value does not match between the actual value and the test expectation. We need to decide...
If the new annotation `google.api.routing` ([AIP 4222](https://google.aip.dev/client-libraries/4222)) is used ([example](https://github.com/googleapis/googleapis/blob/7b5a467b978ff2dde6cd34717ebad5728d05f2bb/google/bigtable/v2/bigtable.proto#L66)), then I believe we need to include `x-goog-request-params`, with a value as specified in that annotation, over REST. If no...
REST snippets are currently being excluded. This issue tracks adding support for REST snippets. See the TODO comment below. https://github.com/googleapis/gapic-generator-python/blob/119a3f18d671664309efbf1aee7bafc94b401eed/gapic/generator/generator.py#L156-L160
This provides test for #1407 In a subsequent PR, it will be expanded to include compliance_suite testing. This is based heavily on @atulep 's [PR#1424](https://github.com/googleapis/gapic-generator-python/pull/1424 )
Our gapic libraries support passing in custom [transport](https://github.com/googleapis/python-bigtable/blob/7f747e10d5c4182d95327321872b4d78519de818/google/cloud/bigtable_v2/services/bigtable/client.py#L368) and [channel](https://github.com/googleapis/python-bigtable/blob/7f747e10d5c4182d95327321872b4d78519de818/google/cloud/bigtable_v2/services/bigtable/transports/grpc.py#L54) objects when initializing clients and transports respectively. In theory, this allows full customization of the transport stack to support uncommon...
While developing the bigtable client, we found that async gapic clients are very slow compared to raw grpc calls. Looking at the code, I found a couple low-hanging-fruit optimizations, some...
1. We observe that the [timeout](https://github.com/grpc/grpc-proto/blob/acfb637a36c5a9818552f89588ce8886e729e4b1/grpc/service_config/service_config.proto#L99) field here corresponds to timeout that spans across multiple retry attempts and not the timeout associated with individual retry attempts. 2. This was observed...
When[ jinja-filters.map](https://jinja.palletsprojects.com/en/3.0.x/templates/#jinja-filters.map) is used to look up an attribute, the `default` argument should be set in case an object in the list does not have the given attribute.
I repeat old question: When are you start the supporting AsyncIO up? The previous official request: https://github.com/googleapis/google-cloud-python/issues/3103