code: def get_current_version() -> version.Version:
      "Get current version specified in pyproject.toml."
      for line in run_cmd("poetry version"):
          if line.startswith("norfair"):
              return version.parse(line.split()[-1])
      raise Exception("Could not read current version from toml")
  
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 2 for calling a global function with example usage: get_current_version() and returns: version