code: def configure_api(self):
      return [
          Post(
              "/user/command_without_client",
              self.command_without_client,
          ),
          Get("/pure_function", handler),
      ]
  
file_path: pytorch-lightning/examples/app/commands_and_api/app.py
imports: from command import CustomCommand, CustomConfig
  from lightning import LightningFlow
  from lightning.app.api import Get, Post
  from lightning.app.core.app import LightningApp
label_desc: Use image node_id 6 for calling the FlowCommands obj's underlying member method code with example usage: obj.configure_api() and returns: list