Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: edit python generated pb2 import statements in general #222

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

malandis
Copy link
Contributor

@malandis malandis commented Oct 3, 2023

In the previous version of python/run-protoc.sh, we selectively
edited import statements for extensions_pb2. With the prior addition
of permissionmessages, the package is broken. We need to edit those
as well.

In order to avoid this in the present and future, we generalize the
edits to all pb2 import statements in our generated code.

In the previous version of `python/run-protoc.sh`, we selectively
edited import statements for `extensions_pb2`. With the prior addition
of `permissionmessages`, the package is broken. We need to edit those
as well.

In order to avoid this in the present and future, we generalize the
edits to all pb2 import statements in our generated code.
Copy link
Contributor

@pgautier404 pgautier404 left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@malandis malandis merged commit 3ffe7c2 into main Oct 3, 2023
7 checks passed
@malandis malandis deleted the fix/python-protos-replacement branch October 3, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants