<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run_etime(self):
 """Wall-time of the run as `timedelta` object."""

        if self.start_datetime is None or self.end_datetime is None:
            return None

        return self.end_datetime - self.start_datetime