code: def get_package_setup_metadata_hash() -> str:
      """
      Retrieves hash of pyproject.toml file.
  
      This is used in order to determine if we need to upgrade Breeze, because some
      setup files changed. Blake2b algorithm will not be flagged by security checkers
      as insecure algorithm (in Python 3.9 and above we can use `usedforsecurity=False`
      to disable it, but for now it's better to use more secure algorithms.
      """
      try:
          the_hash = hashlib.new("blake2b")
          the_hash.update(
              (BREEZE_SOURCES_ROOT / "pyproject.toml").read_bytes()
          )
          return the_hash.hexdigest()
      except FileNotFoundError as e:
          return f"Missing file {e.filename}"
  
imports: from __future__ import annotations
  import hashlib
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: get_package_setup_metadata_hash() and returns: the_hash, str, e