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: adding enums to a repeated field does not raise a TypeError #202

Merged
merged 2 commits into from
Mar 4, 2021

Conversation

software-dov
Copy link
Contributor

Fixes issue #201, where enums added to a repeated field triggered a
TypeError because they were coverted to integers during marshaling.

Fixes issue googleapis#201, where enums added to a repeated field triggered a
TypeError because they were coverted to integers during marshaling.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 3, 2021
@codecov
Copy link

codecov bot commented Mar 3, 2021

Codecov Report

Merging #202 (616bfec) into master (6a43682) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #202   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          862       881   +19     
  Branches       149       159   +10     
=========================================
+ Hits           862       881   +19     
Impacted Files Coverage Δ
proto/modules.py 100.00% <ø> (ø)
proto/marshal/collections/repeated.py 100.00% <100.00%> (ø)
proto/marshal/marshal.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 03653da...616bfec. Read the comment docs.

@software-dov software-dov added the automerge Merge the pull request once unit tests and other checks pass. label Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants