You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyodata/v2/model.py
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -530,15 +530,16 @@ def to_json(self, value):
530
530
531
531
deffrom_json(self, value):
532
532
# special edge case:
533
-
# datetimeoffset'yyyy-mm-ddThh:mm[:ss]' = defaults to UTC, when offset value is not provided in responde data by service but the metadata is EdmDateTimeOffset
533
+
# datetimeoffset'yyyy-mm-ddThh:mm[:ss]' = defaults to UTC, when offset value is not provided in response
534
+
# by service, but the metadata is EdmDateTimeOffset
534
535
# intentionally just for from_json, generation of to_json should always provide timezone info
0 commit comments