code: def io_components():
      classes_to_check = gr.components.Component.__subclasses__()
      subclasses = []
  
      while classes_to_check:
          subclass = classes_to_check.pop()
          if subclass in [gr.components.FormComponent, gr.State]:
              continue
          children = subclass.__subclasses__()
  
          if children:
              classes_to_check.extend(children)
          if "value" in inspect.signature(subclass.__init__).parameters:
              subclasses.append(subclass)
  
      return subclasses
  
file_path: gradio/test/conftest.py
imports: import inspect
  import pathlib
  from contextlib import contextmanager
  import pytest
  from gradio_client import Client
  import gradio
label_desc: Use image node_id 3 for calling a global function with example usage: io_components() and returns: subclasses