code: def generate_version(
      template, rootdir, version=None, suffix=None, **kwargs
  ):
      if suffix is not None:
          version = version + suffix
      tmpl_kwargs = dict(
          version=version,
          build_number=time.strftime("%y%m%d%H%M%S", time.gmtime()),
      )
      tmpl_kwargs.update(kwargs)
      generated = render_with_template(
          filename=template, template_kwargs=tmpl_kwargs
      )
      path_o = template.replace(".tmpl", "")
      check_update(path_o, generated, force=True)
  
imports: from __future__ import print_function
  from collections import OrderedDict
  from os.path import abspath, join, dirname, exists
  from utils.common import check_update
  from utils.type_conv import type_from_proto
  import time
  import yaml
label_desc: Use image node_id 17 for calling a global function with example usage: generate_version(template, rootdir, version, suffix) without return types