Skip to content

Conversation

parthea
Copy link
Contributor

@parthea parthea commented Jul 12, 2024

Similar to #471 but with review comments addressed.
Fixes #470
Fixes googleapis/python-aiplatform#3129
Closes #471

@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 12, 2024
@parthea parthea marked this pull request as ready for review July 12, 2024 17:51
@parthea parthea requested a review from a team as a code owner July 12, 2024 17:51
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 12, 2024
except AttributeError:
# The `MessageMapContainer` attribute is not available in Protobuf 5.x+
pass
for message in [_message_upb, _message_pyext]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need a for loop here? Are _message_upb and _message_pyext mutually exclusive?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As per the comment at line 23, we want to include types from both _message_upb and _message_pyext

@parthea parthea merged commit e2f9c9d into main Jul 12, 2024
@parthea parthea deleted the fix-conda-compatibility branch July 12, 2024 18:16
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.

proto-plus returns incorrect unwrapped protos when protobuf 4 is used in conda env TypeError: argument of type 'Part' is not iterable

2 participants