code: def get_latest_version() -> Union[version.Version, None]:
      "Get the deployed version number tagged as `latest` in mike."
      for line in run_cmd("mike list"):
          if line.endswith("[latest]"):
              return version.parse(line.split()[0])
      logger.warning("Could not read the latest version deployed")
  
file_path: norfair/docs/deploy_docs.py
imports: import logging
  import subprocess
  from typing import List, Union
  from packaging import version
label_desc: Use image node_id 3 for calling a global function with example usage: get_latest_version() and returns: version