code: def print_commit(commit: dict[str, Any], branch: str) -> None:
      """Print out commit message for verification"""
      indented_message = "    \n".join(commit["message"].split("\n"))
      date_str = (
          parser.parse(commit["timestamp"])
          .astimezone(tz=None)
          .strftime("%a, %d %b %Y %H:%M:%S")
      )
      print(
          f"""HEAD {commit["id"]} ({branch})
  Author: {commit["author"]["name"]} <{commit["author"]["email"]}>
  Date:   {date_str}
  
      {indented_message}
  """
      )
  
file_path: superset/scripts/cancel_github_workflows.py
imports: import os
  from collections.abc import Iterable, Iterator
  from typing import Any, Literal, Optional, Union
  import click
  import requests
  from click.exceptions import ClickException
  from dateutil import parser
label_desc: Use image node_id 6 for calling a global function with example usage: print_commit(commit, branch) without return types