code: def test_create_run_queue_template_variables_not_supported(
      runner, user, monkeypatch
  ):
      queue_name = "tvqueue"
      queue_config = {"e": ["{{var1}}"]}
      queue_template_variables = {
          "var1": {"schema": {"type": "string", "enum": ["a", "b"]}}
      }
  
      def patched_push_to_run_queue_introspection(*args, **kwargs):
          args[0].server_supports_template_variables = False
          return False
  
      monkeypatch.setattr(
          wandb.sdk.internal.internal_api.Api,
          "push_to_run_queue_introspection",
          patched_push_to_run_queue_introspection,
      )
      with runner.isolated_filesystem():
          api = Api(api_key=user)
          with pytest.raises(UnsupportedError):
              api.create_run_queue(
                  entity=user,
                  name=queue_name,
                  type="local-container",
                  config=queue_config,
                  template_variables=queue_template_variables,
              )
  
file_path: wandb/tests/pytest_tests/system_tests/tests_launch/test_public_api.py
imports: import pytest
  import wandb
  import wandb.apis.public
  import wandb.util
  from wandb import Api
  from wandb.sdk.internal.internal_api import UnsupportedError
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_run_queue_template_variables_not_supported(runner, user, monkeypatch) and returns: False