code: def get_version():
      """Get version by parsing out setup.py."""
      dirname = os.path.dirname(__file__)
      base_dir = os.path.abspath(os.path.join(dirname, "../.."))
      pattern = re.compile(
          r"(?:.*VERSION = \")(?P<version>.*)(?:\"  # PEP-440$)"
      )
      for line in open(os.path.join(base_dir, "setup.py")).readlines():
          m = pattern.match(line)
          if m:
              return m.group("version")
  
file_path: streamlit/lib/tests/streamlit/streamlit_test.py
imports: import os
  import re
  import subprocess
  import sys
  import tempfile
  import unittest
  import streamlit
  from streamlit import __version__
label_desc: Use image node_id 1 for calling a global function with example usage: get_version() and returns: m