parameters: (self)
docstring: Returns the amount of time it took for this request to execute.
docstring_summary: Returns the amount of time it took for this request to execute.
docstring_tokens: Returns the amount of time it took for this request to execute .
function: 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
function_tokens: def request_time ( self ) -> float : if self . _finish_time is None : return time . time ( ) - self . _start_time else : return self . _finish_time - self . _start_time