gapic-generator-python
gapic-generator-python copied to clipboard
Generate Python API client libraries from Protocol Buffers.
#### Environment details https://github.com/googleapis/python-logging/blob/440add263d1aeaa9fdfaf5b81c6d6f5f424f9131/google/cloud/logging_v2/services/logging_service_v2/client.py#L69 https://github.com/googleapis/python-logging/blob/440add263d1aeaa9fdfaf5b81c6d6f5f424f9131/google/cloud/logging_v2/services/logging_service_v2/async_client.py#L131 As seen in the logging_v2 example of a GAPIC generated API client, the `LoggingServiceV2AsyncClient` asyncio async_client.py copies the `get_transport_class` from `LoggingServiceV2Client`. This means, even with...
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/)...
The current snippetgen implementation is written against the default templates.
Opening this issue as a reminder for myself. `Optional` is used a bit sporadically in the monolith, which recently resulted in some user confusion. (They mistook an optional parameter as...
Clients streaming methods should send routing headers on the initial RPC that opens the stream. Field headers are currently ignored for these methods https://github.com/googleapis/gapic-generator-python/blob/eaa6f3622ccf3f51a73635d8190ae2a07f036d89/gapic/templates/%25namespace/%25name_%25version/%25sub/services/%25service/client.py.j2#L329-L341 As far as I know this...
In a few clients (Bigtable, Firestore), we override the transport and channel to configure custom keepalive settings, see: https://github.com/googleapis/python-bigtable/blob/76c4e9abd59ffac5fb2d8fb2298d04b9e1128d8c/google/cloud/bigtable/client.py#L217-L225 https://github.com/googleapis/python-firestore/blob/15b579f0b94aa8de3310b8bbc14916e97ac0c060/google/cloud/firestore_v1/base_client.py#L156 We cannot then use any of the default setup by...
The generated retry policy and timeout for wrapped methods is not always suitable for every application (e.g., see https://github.com/googleapis/python-bigquery-storage/issues/315). Rather than: ```python from google.api_core import exceptions from google.api_core import retry...
**Is your feature request related to a problem? Please describe.** I'm trying to implement some fixes for the BigQuery Storage API Write client in https://github.com/googleapis/python-bigquery-storage/pull/278 so that it's easier to...
Generated GAPIC package's unit tests issue the following warning: (with the latest version of the generator) ``` PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks...
It is sometimes helpful to determine which version of the microgenerator was used to create a particular client library instance. This is a request for an addition to the template...