Skip to content
This repository was archived by the owner on Jul 13, 2025. It is now read-only.

Revert "Python: use 'ProtoFiles.getProtoFiles' to sort enums by filename."#2442

Merged
andreamlin merged 2 commits intomasterfrom
revert-2418-2319-python-stable_enum_order
Nov 19, 2018
Merged

Revert "Python: use 'ProtoFiles.getProtoFiles' to sort enums by filename."#2442
andreamlin merged 2 commits intomasterfrom
revert-2418-2319-python-stable_enum_order

Conversation

@tseaver
Copy link
Copy Markdown
Contributor

@tseaver tseaver commented Nov 19, 2018

Reverts #2418

See: #2429.

@tseaver tseaver added lang: python Issues specific to Python. yoshi labels Nov 19, 2018
@tseaver tseaver requested a review from andreamlin November 19, 2018 19:51
@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 19, 2018

Codecov Report

Merging #2442 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2442      +/-   ##
============================================
- Coverage     86.57%   86.57%   -0.01%     
+ Complexity     5275     5274       -1     
============================================
  Files           458      458              
  Lines         21003    21002       -1     
  Branches       2279     2279              
============================================
- Hits          18183    18182       -1     
  Misses         2004     2004              
  Partials        816      816
Impacted Files Coverage Δ Complexity Δ
.../transformer/py/PythonGapicSurfaceTransformer.java 98.29% <100%> (-0.01%) 43 <0> (-1)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad593e6...3414d3e. Read the comment docs.

@andreamlin
Copy link
Copy Markdown
Contributor

Are able to use this change in a local fork of gapic-generator to generate the desired Bigtable's python client?

@tseaver
Copy link
Copy Markdown
Contributor Author

tseaver commented Nov 19, 2018

@andreamlin

Are able to use this change in a local fork of gapic-generator to generate the desired Bigtable's python client?

I don't have enough knowledge of the toolchain to figure that out: I'm just backing the change out because the bug appeared to occur after the change from #2418 was propagated to the artman image.

@tseaver
Copy link
Copy Markdown
Contributor Author

tseaver commented Nov 19, 2018

@andreamlin Should I close this PR, given your change in #2440?

@andreamlin
Copy link
Copy Markdown
Contributor

@tseaver right now i'll generate the python client with and without my change, and see if it the fix fixes this

@andreamlin
Copy link
Copy Markdown
Contributor

andreamlin commented Nov 19, 2018

Verified locally that without this PR (the reverting PR), the StorageType class (from the bigtable synth PR) is incorrectly not generated in the Python client, and with this PR, artman will generate the StorageType class. Therefore, we should check in this PR.

Thanks a lot for opening this reverting PR!

Copy link
Copy Markdown
Contributor

@andreamlin andreamlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andreamlin andreamlin merged commit 220864e into master Nov 19, 2018
@andreamlin andreamlin deleted the revert-2418-2319-python-stable_enum_order branch February 21, 2019 23:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lang: python Issues specific to Python. yoshi

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants