code: def test_declaration_repr(table_source):
      assert "TableSourceNode" in str(table_source)
      assert "TableSourceNode" in repr(table_source)
  
file_path: arrow/python/pyarrow/tests/test_acero.py
imports: import pytest
  import pyarrow
  import pyarrow.compute
  from pyarrow.compute import field
label_desc: Use image node_id 3 for calling a global function with example usage: test_declaration_repr(table_source) without return types