-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: proper __setitem__ and insert for RepeatedComposite (#178)
Fixes #177; please refer to the issue for context. The proposed solution is not elegant at all, but might be the best in the short term until the underlying protocol buffer object supports the __setitem__ method. Nota bene: the underlying RepeatedCompositeFieldContainer from google.protobuf.internal.containers already supports the insert method, and we only need to perform type conversion for this particular case.
- Loading branch information
Showing
2 changed files
with
147 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters