code: def check_dataframe(config):
      input_df = next(
          c
          for c in config["components"]
          if c["props"].get("label", "") == "Input Rows"
      )
      assert input_df["props"]["headers"] == ["a", "b"]
      assert input_df["props"]["row_count"] == (1, "dynamic")
      assert input_df["props"]["col_count"] == (2, "fixed")
  
imports: import os
  import tempfile
  import textwrap
  import warnings
  from pathlib import Path
  from unittest.mock import MagicMock, patch
  import pytest
  from fastapi.testclient import TestClient
  from gradio_client import media_data
  from huggingface_hub import HfFolder
  import gradio
  from gradio.context import Context
  from gradio.exceptions import GradioVersionIncompatibleError, InvalidApiNameError
  from gradio.external import TooManyRequestsError, cols_to_rows, get_tabular_examples
label_desc: Use image node_id 3 for calling a global function with example usage: check_dataframe(config) without return types