code: def log_time(func: Callable[..., Any]) -> Callable[..., Any]:
      
  
      def wrapper(*args, **kwargs):
          start_time = time.time()
          log.info("%s starting...", func.__name__.title())
          ret = func(*args, **kwargs)
          log.info(
              "%s finished (%s)",
              func.__name__.title(),
              datetime.timedelta(seconds=int(time.time() - start_time)),
          )
          return ret
  
      return wrapper
docs: Log the time it takes to run a function. It's sort of like timeit, but
      prettier.