code: def set_version_in_file(version="HEAD"):
      ini_file_path = Path(__file__).parent / "kubric" / "__init__.py"
      ini_file_lines = list(open(ini_file_path))
      with open(ini_file_path, "w") as f:
          for line in ini_file_lines:
              if line.startswith("__version__"):
                  f.write('__version__ = "{}"\n'.format(version))
              else:
                  f.write(line)
  
imports: import argparse
  import sys
  import setuptools
  from datetime import datetime
  from pathlib import Path
  from packaging import version
label_desc: Use image node_id 1 for calling a global function with example usage: set_version_in_file(version) without return types