code: def infer(self) -> Union[InferTask, Dict[str, InferTask]]:
      task: InferTask = lib.infers.NuClick(self.bundle_path, self.conf)
      return task
  
file_path: MONAILabel/sample-apps/pathology/lib/configs/nuclick.py
imports: import logging
  import os
  from typing import Any, Dict, Optional, Union
  import lib.infers
  import lib.trainers
  from monai.bundle import download
  from monailabel.config import settings
  from monailabel.interfaces.config import TaskConfig
  from monailabel.interfaces.tasks.infer_v2 import InferTask
  from monailabel.interfaces.tasks.train import TrainTask
label_desc: Use image node_id 2 for calling the NuClick obj's underlying member method code with example usage: obj.infer() and returns: task