-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
Zeep fails to parse 24:00:00
as xsd:time
(ValueError: hour must be in 0..23)
#1401
Comments
I'm having the same problem. Can you specify WHERE you replace xsd:time with xsd:string? I don't have that in my code so I can't do that... I feel like a real idiot. Here's my code (with a hard-coded start time): ``wsdl_url = "https://webservices.chargepoint.com/cp_api_5.1.wsdl" def FleetUsageAPIcall(client): fleetusagedf = FleetUsageAPIcall(client)`` |
Zeep uses isodate to parse
xsd:time
:python-zeep/src/zeep/xsd/types/builtins.py
Lines 197 to 198 in 377d931
isodate
does not like24:00:00
and throwsValueError: hour must be in 0..23
, but24:00:00
should be a valid value ofxsd:time
: http://www.datypic.com/sc/xsd/t-xsd_time.htmlWe are using zeep 4.2.1 and isodate 0.6.1.
Our (stupid) workaround was to replace
xsd:time
withxsd:string
.The text was updated successfully, but these errors were encountered: