code: def finalize(sefl):
      return {"metric_a": 1, "metric_b": 2}
  
file_path: icevision/tests/engines/lightning/test_lightning_model_adapter.py
imports: from icevision.engines.lightning import LightningModelAdapter
label_desc: Use image node_id 3 for calling the MockMetric obj's underlying member method code with example usage: obj.finalize(sefl) and returns: dict