Skip to content

Commit

Permalink
put end into the record
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Chatterjee committed Dec 6, 2023
1 parent 575bb72 commit a613ac8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp
retval = {"_id": record["_id"], "data": record}
retval["_submission_time"] = record["_submission_time"]
retval["endtime"] = record.get("endtime")
retval["end"] = record.get("end")
if retval["endtime"]:
# endtime is in utc
endtime = self.mk_tzaware_utc(datetime.fromisoformat(retval["endtime"]))
Expand Down

0 comments on commit a613ac8

Please sign in to comment.