This line seems to be overwriting all timestamp values with the current time:
|
values = {key: (val.utcnow().isoformat() if isinstance(val, datetime) else val) for (key, val) in self.values.items() } |
Specifically at this part: val.utcnow().isoformat() if isinstance(val, datetime)