gapic-generator-python
gapic-generator-python copied to clipboard
Generate Python API client libraries from Protocol Buffers.
In PR https://github.com/googleapis/gapic-generator-python/pull/1985, support was added to automatically populate fields UUID4 fields according to https://google.aip.dev/client-libraries/4235. This issue tracks adding additional showcase tests once the following feature has been added to...
[interceptors](https://github.com/search?q=repo%3Agoogleapis%2Fgapic-generator-python%20interceptors&type=code) are currently supported for REST transport. We should also add support for interceptors in gRPC to have feature parity between both transports. https://github.com/googleapis/gapic-generator-python/blob/24a23a1ab885246e447c0010b2e5602209dfbb8d/gapic/templates/%25namespace/%25name_%25version/%25sub/services/%25service/transports/rest.py.j2#L74-L77 Also see https://github.com/googleapis/python-spanner/blob/4da06a6a883c0513d7c80f9462c871b0a00a8f2b/google/cloud/spanner_v1/testing/database_test.py#L31-L35
From https://github.com/googleapis/gapic-generator-python/pull/1975#discussion_r1529207661 in PR https://github.com/googleapis/gapic-generator-python/pull/1975, See suggestion below to improve readability of tests that require building descriptors from protos. > If it's trivial to read from a proto "file" (string)...
Async clients do not seem to work over REST transport. This may well be technical debt (deferred work) from the initial REGAPIC implementation. We need to get it working. Related...
See https://github.com/googleapis/googleapis/blob/2a40f63ea714c7f4c6856a5db4d1f3cc7d4c4b18/google/chat/v1/space.proto#L265 where there is an asterisk character which is not surrounded by backticks or escaped. This caused the docs build to fail with ``` sphinx.errors.SphinxWarning: /usr/local/google/home/partheniou/git/google-cloud-python/packages/google-apps-chat/google/apps/chat_v1/services/chat_service/async_client.py:docstring of google.apps.chat_v1.services.chat_service.async_client.ChatServiceAsyncClient.get_space:39:Inline emphasis...
See the build log below where the docs build for `google-maps-routing` failed with ``` sphinx.errors.SphinxWarning: /usr/local/google/home/partheniou/git/google-cloud-python/packages/google-maps-routing/google/maps/routing_v2/types/toll_passes.py:docstring of google.maps.routing_v2.types.toll_passes.TollPass:59:Unexpected indentation. ``` https://github.com/googleapis/google-cloud-python/actions/runs/7934450775/job/21665468219?pr=12314 The issue is that this docstring is missing an...
Our policy is that we can update the copyright year every time we re-generate a file. We certainly need to have the current year on new files. To update the...
See the reproduction code below, and the stack trace that appears when setting the `transport` argument of `DocumentServiceAsyncClient` to `"rest"` ``` import asyncio import json from google.cloud import discoveryengine_v1 doc_json...
Fixes https://github.com/googleapis/gapic-generator-python/issues/1955 I created https://github.com/googleapis/gapic-generator-python/issues/1956 as a follow up question to determine if we want `mock_value` to populate multiple nested fields.