<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def request_time(self) -> float: """Returns the amount of time it took for this request to execute."""

        if self._finish_time is None:
            return time.time() - self._start_time
        else:
            return self._finish_time - self._start_time