code: def test_category_sample_data():
      data = Category().get_sample_data()
      assert isinstance(data, dict)
      assert "category" in data
      assert data["category"] == 463
  
file_path: pytorch-lightning/tests/tests_app/components/serve/test_python_server.py
imports: import multiprocessing
  from lightning.app.components import Category, Image, Number, PythonServer, Text
  from lightning.app.utilities.network import _configure_session, find_free_network_port
label_desc: Use image node_id 6 for calling a global function with example usage: test_category_sample_data() without return types