Open suyashb95 opened 5 years ago
I am also having this same issue. I was able to work around it by making the following small change in swagger.py:
Line 170:
# "%Y-%m-%dT%H:%M:%S.%f"))
"%Y-%m-%dT%H:%M:%S"))
Trace
Changing line 175 in
swagger.py
tosetattr(instance, attr, datetime.datetime.strptime(value[:-5], "%Y-%m-%dT%H:%M:%S"))
seems to fix it. The same issue exists with the library for python 2.7 as well