code: def infer(self) -> Union[InferTask, Dict[str, InferTask]]:
      pass
  
file_path: MONAILabel/monailabel/interfaces/config.py
imports: import logging
  from abc import ABCMeta, abstractmethod
  from typing import Any, Dict, Optional, Union
  from monailabel.config import settings
  from monailabel.interfaces.tasks.infer_v2 import InferTask
  from monailabel.interfaces.tasks.scoring import ScoringMethod
  from monailabel.interfaces.tasks.strategy import Strategy
  from monailabel.interfaces.tasks.train import TrainTask
label_desc: Use image node_id 3 for calling the TaskConfig obj's underlying member method code with example usage: obj.infer() without return types