code: def all_subclasses(
      cls,
  ) -> Generator[tuple[Optional[str], Type["Variable"]], None, None]:
      for q in cls.__subclasses__():
          yield getattr(q, "type", None), q
          for p in q.all_subclasses():
              yield p
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from dedupe import predicates
label_desc: Use image node_id 7 for calling the Variable obj's underlying member method code with example usage: obj.all_subclasses(cls) without return types