code: def test_update_template() -> None:
      session, tpl = setup_template_test()
  
      # update
      tpl.config["description"] = "updated description"
      resp = bindings.patch_PatchTemplateConfig(
          session, body=tpl.config, templateName=tpl.name
      )
      assert_templates_equal(tpl, resp.template)
  
imports: from typing import Optional, Tuple
  import pytest
  from determined.common import util
  from determined.common.api import NTSC_Kind, Session, bindings, errors
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests import template
  from tests.cluster import test_rbac
  from tests.cluster import test_users
label_desc: Use image node_id 9 for calling a global function with example usage: test_update_template() without return types