gds_format_base64 needs .decode('ascii')
Brought to you by:
dkuhlman
Hey, most excellent work on this project (life saver since 4Suite is gone)
I am working with data type xs:base64Binary.
When the auto generated code builds the GeneratedSuper class and member function gds_format_base64() it returns base64.b64encode(input_data) which ends up being a bytes type rather than a string type.
I have hand modified my code to return:
base64.b64encode(input_data).decode('ascii')
without it the xml export ends up with b'xxxxx=' in the field rather than 'xxxxx='