mvantellingen / python-zeep

A Python SOAP client
http://docs.python-zeep.org
Other
1.88k stars 586 forks source link

Modify Client.wsdl.dump() to allow to put the print output to a file or other stream #1212

Open renatodamas opened 3 years ago

renatodamas commented 3 years ago

Currently the Client.wsdl.dump() just has the hability to print on screen. It would be nice if we can have the choice to direct the print message to a file or the an io.StringIO() like as the bult-in function print already permits. This implementation it is not complex and gives more flexibility to the function dump().