googleapis / googleapis/google-cloud-python

Export gapic autogenerated types in the `__init__.py` of `google.cloud.logging_v2`

Open
#15,410 1 comment 0 reactions 1 assignee Claimed by @gkevinzheng View on GitHub
api: logging priority: p3 type: cleanup
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

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/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
PR googleapis/python-logging#804 is a good short-term fix for the issue googleapis/python-logging#582, but we should be considering more long-term fixes.

**Describe the solution you'd like**
Use the autogenerated `__init__.py` as a base, which already has the autogenerated types exported in it, then combine it with the handwritten `__init__.py`.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Might be related to this issue: https://github.com/googleapis/google-cloud-python/issues/16401

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.