code: def predict(self, data):
      return {"prediction": self._model(data.payload)}
  
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 3 for calling the SimpleServer obj's underlying member method code with example usage: obj.predict(data) and returns: dict