code: def test_no_args_to_input_node(shared_ray_instance):
      @ray.remote
      def f(input):
          return input
  
      with pytest.raises(
          ValueError,
          match="InputNode should not take any args or kwargs",
      ):
          with InputNode(0) as dag_input:
              f.bind(dag_input)
      with pytest.raises(
          ValueError,
          match="InputNode should not take any args or kwargs",
      ):
          with InputNode(key=1) as dag_input:
              f.bind(dag_input)
  
file_path: ray/python/ray/dag/tests/test_input_node.py
imports: import pytest
  from ray.dag.dag_node import DAGNode
  from ray.dag.input_node import InputNode
  from typing import Any, TypeVar
  import ray
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_args_to_input_node(shared_ray_instance) and returns: input