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