code: def log_after_retry(retry_state):
      logger.info(
          "Retrying",
          fun=retry_state.fn.__name__,
          attempt_number=retry_state.attempt_number,
          wait_time=retry_state.outcome_timestamp
          - retry_state.start_time,
      )
  
imports: import requests
  from structlog import get_logger
  from tenacity import retry_if_exception, stop_after_attempt, wait_random_exponential
label_desc: Use image node_id 1 for calling a global function with example usage: log_after_retry(retry_state) without return types