gapic-generator-python
gapic-generator-python copied to clipboard
Generate Python API client libraries from Protocol Buffers.
example: https://googleapis.dev/python/documentai/latest/documentai_v1beta2/types.html#google.cloud.documentai_v1beta2.types.Document.PageAnchor.PageRef.layout_id where we have ``` Optional. The [Page.Layout.id][google.cloud.documentai.v1beta2.Document.Page.Layout.id] on the page that this element references. If [LayoutRef.type][] is specified this id must also be specified. ``` The brackets should...
Hi. I'm the author of an (unofficial) type stubs package for `google-ads-python`. As part of that work I'm also working on type stubs for `proto-plus`. I'm currently looking into an...
I'd like a test session that verifies that the client libraries can be installed via conda. The [pandas community strongly encourages conda for installation](https://pandas.pydata.org/docs/getting_started/install.html#installing-pandas), so it's important that our packages...
This feature was added over a few PRs, but is slated to be reverted in #1134 to move forward enabling snippetgen globally. The desired end state is a snippet that...
in tests/system/test_grpc_interceptor_streams.py
The `appengine_admin` client has a service called `services` . Unfortunately, `services` is already an implicitly reserved keyword in `gapic-generator-python` templates here: https://github.com/googleapis/gapic-generator-python/blob/master/gapic/templates/docs/%25name_%25version/services.rst.j2 As a result of having `service.rst` referencing another...
There is no documentation for the fields of the google.cloud.monitoring_v3.types.MetricDescriptor google.cloud.monitoring_v3.types.MessageOptions (and many others) in the generated docmentation here: https://google-cloud-python.readthedocs.io/en/latest/monitoring/gapic/v3/types.html Or consider google.cloud.redis_v1beta1.types.Operation in https://google-cloud-python.readthedocs.io/en/latest/redis/gapic/v1beta1/types.html These classes have fields that...
Currently, unit tests in templates code are all concentrated in a single file `test_%service.py.j2`. The file has 3K lines and should be refactored. One idea is to refactor across two...
See the [go](https://github.com/googleapis/gapic-generator-go) compliance tests for a full definition.
As seen in https://github.com/googleapis/python-pubsublite/blob/4a29b92c32b086750a2a720ce65b75f87a77aac4/google/cloud/pubsublite_v1/services/publisher_service/async_client.py#L168, async clients are set up by instantiating a standard client. `PublisherServiceAsyncClient` instantiates a `PublisherServiceClient` and all requests basically use `self._client._transport` to make the request. This is...