GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: __init__.py file output is now more deterministic by software-dov · Pull Request #806 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Conversation

@software-dov

@software-dov software-dov commented Mar 5, 2021

Copy link
Copy Markdown
Contributor

Sort everything that is iteratively produced, e.g. message and enum
classes provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@software-dov
chore: __init__.py file output is now more deterministic
8218a60
Sort everything that is iteratively produced, e.g. message and enum
classes provided.
@software-dov
software-dov requested review from a team, arithmetic1728, busunkim96 and vchudnov-g March 5, 2021 20:23
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 5, 2021
@software-dov software-dov added the automerge Merge the pull request once unit tests and other checks pass. label Mar 5, 2021
@codecov

codecov Bot commented Mar 5, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #806 (8218a60) into master (7c185e8) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #806   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        27    +1     
  Lines         1608      1649   +41     
  Branches       328       337    +9     
=========================================
+ Hits          1608      1649   +41     
Impacted Files Coverage Δ
gapic/utils/case.py 100.00% <ø> (ø)
gapic/utils/reserved_names.py 100.00% <ø> (ø)
gapic/generator/generator.py 100.00% <100.00%> (ø)
gapic/schema/api.py 100.00% <100.00%> (ø)
gapic/schema/wrappers.py 100.00% <100.00%> (ø)
gapic/utils/__init__.py 100.00% <100.00%> (ø)
gapic/utils/checks.py 100.00% <100.00%> (ø)
gapic/utils/options.py 100.00% <100.00%> (ø)

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 96f7864...8218a60. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

busunkim96
busunkim96 approved these changes Mar 5, 2021
View reviewed changes

@busunkim96 busunkim96 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Ah I was wondering why these still seemed to move around sometimes. Thank you!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 90a3373 into googleapis:master Mar 5, 2021
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Mar 5, 2021
@software-dov

software-dov commented Mar 5, 2021

Copy link
Copy Markdown
Contributor Author

I had hoped it would get better once the generation process started using 3.7, where dicts are ordered and the air smells like warm root beer. In any case, being explicit is better.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@software-dov software-dov mentioned this pull request Mar 5, 2021
Ordering is not consistent for generated init files #805
Closed
@busunkim96 busunkim96 mentioned this pull request Apr 6, 2021
fix: sort subpackages in %namespace/%name/__init__.py #836
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request Apr 12, 2021
@busunkim96
fix: sort subpackages in %namespace/%name/__init__.py (#836)
90cf882
Small follow up to #806
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Nov 24, 2025
@busunkim96
fix: sort subpackages in %namespace/%name/__init__.py (#836)
ecb858b
Small follow up to googleapis/gapic-generator-python#806
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@vchudnov-g vchudnov-g Awaiting requested review from vchudnov-g
@arithmetic1728 arithmetic1728 Awaiting requested review from arithmetic1728
1 more reviewer
@busunkim96 busunkim96 busunkim96 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@software-dov @busunkim96
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.