original_docstring: A task that measures the time it was sitting in the queue.
docstring: A task that measures the time it was sitting in the queue.
docstring_tokens: A task that measures the time it was sitting in the queue .
code: def measure_queue_lag(queued_time):
      """A task that measures the time it was sitting in the queue."""
      lag = datetime.now() - queued_time
      lag = max((lag.days * 3600 * 24) + lag.seconds, 0)
      log.info(f"Measure queue lag task value is {lag}")
code_tokens: def measure_queue_lag ( queued_time ) : lag = datetime . now ( ) - queued_time lag = max ( ( lag . days * 3600 * 24 ) + lag . seconds , 0 ) log . info ( f"Measure queue lag task value is {lag}" )
short_docstring: A task that measures the time it was sitting in the queue.
short_docstring_tokens: A task that measures the time it was sitting in the queue .
comment: """A task that measures the time it was sitting in the queue."""