code: def run(self):
      # 1. Define your own argument parser. You can use argparse, click, etc...
      parser = ArgumentParser(description="Run Notebook Parser")
      parser.add_argument("--name", type=str, default=None)
      parser.add_argument("--cloud_compute", type=str, default="cpu")
      hparams = parser.parse_args()
  
      # 2. Invoke the server side handler by sending a payload.
      response = self.invoke_handler(
          config=RunNotebookConfig(
              name=hparams.name or str(uuid4()),
              cloud_compute=hparams.cloud_compute,
          ),
      )
  
      # 3. Print the server response.
      print(response)
  
file_path: pytorch-lightning/docs/source-app/workflows/build_command_line_interface/commands/notebook/run.py
imports: from argparse import ArgumentParser
  from uuid import uuid4
  from pydantic import BaseModel
  from lightning.app.utilities.commands import ClientCommand
label_desc: Use image node_id 1 for calling the RunNotebook obj's underlying member method code with example usage: obj.run() without return types