We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b49d738 + 742cf61 commit 8a64eccCopy full SHA for 8a64ecc
1 file changed
base_rest/http.py
@@ -53,6 +53,8 @@ def default(self, obj): # pylint: disable=E0202,arguments-differ
53
return obj.isoformat()
54
elif isinstance(obj, datetime.date):
55
56
+ elif isinstance(obj, datetime.time):
57
+ return obj.isoformat()
58
elif isinstance(obj, decimal.Decimal):
59
return float(obj)
60
return super().default(obj)
0 commit comments