code: def __iter__(self):
      return self
  
file_path: pytorch-lightning/src/lightning/app/utilities/tree.py
imports: from typing import TYPE_CHECKING, Type
  import lightning.app
label_desc: Use image node_id 2 for calling the _DepthFirstVisitor obj's underlying member method code with example usage: obj.__iter__() and returns: self