This repository was archived by the owner on Sep 12, 2025. It is now read-only.
chore: remove redundant code #979
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The comment below states
The DataFormat enum is not exposed in bigquery_storage_v1/types, add it there
but it is already part ofbigquery_storage_v1/types
python-bigquery-storage/owlbot.py
Lines 79 to 89 in 2a6daa1
This code causes
DataFormat
to appear twice in**/types/__init__.py
python-bigquery-storage/google/cloud/bigquery_storage_v1/types/__init__.py
Lines 71 to 75 in 2a6daa1
python-bigquery-storage/google/cloud/bigquery_storage_v1beta2/types/__init__.py
Lines 68 to 72 in 2a6daa1
See the generated code here which shows
DataFormat
already exists in**/types/__init__.py
https://github.com/googleapis/googleapis-gen/blob/0c329e8511aa92a534987082babc89f9364a341b/google/cloud/bigquery/storage/v1/bigquery-storage-v1-py/google/cloud/bigquery_storage_v1/types/__init__.py#L55
https://github.com/googleapis/googleapis-gen/blob/0c329e8511aa92a534987082babc89f9364a341b/google/cloud/bigquery/storage/v1beta2/bigquery-storage-v1beta2-py/google/cloud/bigquery_storage_v1beta2/types/__init__.py#L53
See related commits in googleapis/google-cloud-python#14361
googleapis/google-cloud-python@e4564dc
googleapis/google-cloud-python@685e1e8