[Fedora-suds-list] SOAP Method Problem

Jeff Ortel jortel at redhat.com
Tue Jan 13 23:00:14 UTC 2009


Hey Jason,

I would suggest:

 >
 > client = Client(url)
 > delete = getattr(client.service, 'del')
 > reply = delete(options)
 >

Regards,

Jeff

Jason Giangrande wrote:
> Is there anyway to work around a SOAP method that has the same name as a Python reserved keyword (in this case "del")?  I'm calling it like this "client.service.del(options)" and this gets an invalid syntax error.  Changing the WSDL is an option, but one I'd rather avoid if there's a better way.  Any suggestions?
> 
> Thanks.
> 
> --
> Jason Giangrande
> System Administrator
> Clark University
> 
> 
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list




More information about the fedora-suds-list mailing list