code: def as_dict(self) -> dict:
      return self.reduce_on_components("as_dict", reduction="update")
  
file_path: icevision/icevision/core/record.py
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.core.exceptions import *
  from icevision.core.components import *
  from icevision.core.record_components import *
label_desc: Use image node_id 1 for calling the BaseRecord obj's underlying member method code with example usage: obj.as_dict() and returns: self