code: def written_class_string(make_component_dir):
      # Class string written to file
      generate_class_file(
          typename="Table",
          props=make_component_dir["props"],
          description=make_component_dir["description"],
          namespace="TableComponents",
      )
      written_file_path = os.path.join("TableComponents", "Table.py")
      with open(written_file_path, "r") as f:
          return f.read()
  
file_path: dash/tests/unit/development/test_generate_class_file.py
imports: import os
  import shutil
  from difflib import unified_diff
  import pytest
  from dash.development._py_components_generation import generate_class_string, generate_class_file
  from .None import _dir, has_trailing_space
label_desc: Use image node_id 4 for calling a global function with example usage: written_class_string(make_component_dir) and returns: f