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

Accept strings for xsd base64Binary #1072

Conversation

superzaro
Copy link

According to issue it would be nice if a value for an element of type xsd:base64Binary could be passed already encoded as string. Since accepted_types = six.string_types in Base64Binary I suggest the same solution as for the mentioned Datetime issue (passing datetime as string).
By the way I fixed to missing assert statements.

@codecov
Copy link

codecov bot commented Apr 3, 2020

Codecov Report

Merging #1072 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1072   +/-   ##
=======================================
  Coverage   89.34%   89.35%           
=======================================
  Files          65       65           
  Lines        4845     4847    +2     
  Branches      850      851    +1     
=======================================
+ Hits         4329     4331    +2     
  Misses        333      333           
  Partials      183      183           
Impacted Files Coverage Δ
src/zeep/xsd/types/builtins.py 97.17% <100.00%> (+0.02%) ⬆️

@mvantellingen mvantellingen merged commit 5a06276 into mvantellingen:main Nov 3, 2022
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.

2 participants