code: def get_version():
      init_py_path = os.path.join(
          os.path.abspath(os.path.dirname(__file__)),
          "pytorchvideo",
          "__init__.py",
      )
      init_py = open(init_py_path, "r").readlines()
      version_line = [
          lines.strip()
          for lines in init_py
          if lines.startswith("__version__")
      ][0]
      version = version_line.split("=")[-1].strip().strip("'\"")
  
      # Used by CI to build nightly packages. Users should never use it.
      # To build a nightly wheel, run:
      # BUILD_NIGHTLY=1 python setup.py sdist
      if os.getenv("BUILD_NIGHTLY", "0") == "1":
          from datetime import datetime
  
          date_str = datetime.today().strftime("%Y%m%d")
          # pip can perform proper comparison for ".post" suffix,
          # i.e., "1.1.post1234" >= "1.1"
          version = version + ".post" + date_str
  
          new_init_py = [
              l for l in init_py if not l.startswith("__version__")
          ]
          new_init_py.append('__version__ = "{}"\n'.format(version))
          with open(init_py_path, "w") as f:
              f.write("".join(new_init_py))
  
      return version
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_version() and returns: version