code: def assert_no_varargs_varkw(
      argspec: inspect.FullArgSpec,
      subject_message: Optional[str] = None,
  ) -> None:
      """Asserts no arbitrary positional arguments (*args) and no arbitrary keyword arguments (**kwargs).
  
      Args:
        argspec: An `inspect.FullArgSpec` instance describing the function. Usually
          obtained from `inspect.getfullargspec(func)`.
        subject_message: An error message subject.
  
      Raises:
        ValueError if either arbitrary position arguments or arbitrary keywords
        arguments are found.
      """
      if argspec.varargs or argspec.varkw:
          msg_prefix = (
              subject_message if subject_message else "The function"
          )
          raise ValueError(
              f"{msg_prefix} does not support *args or **kwargs arguments."
          )
  
imports: import enum
  import inspect
  import sys
  import types
  from typing import Any, Dict, Optional, Type
  from tfx import types
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.types import artifact
  from tfx.types import component_spec
  from tfx.types import system_executions
label_desc: Use image node_id 2 for calling a global function with example usage: assert_no_varargs_varkw(argspec, subject_message) without return types