-
-
Notifications
You must be signed in to change notification settings - Fork 610
Closed
Labels
Milestone
Description
Hello, this is not an issue but rather question.
I'm using soap service which expect me to use date format like this 2016-08-14T00:00:00.000+03:00
And does not accept format used by zeep. I found zeep.xsd.DateTime which converts values to strings, but not found a way to use it.
i subclassed zeep.xsd.DateTime, and tried this:
c = zeep.Client(wsdl)
c.client.SomeMethod(SomeMethodRequest={'DateTime': MyDateTime(dt)}
and this is not working
so, how do i tell zeep to use my custom DateTime class?