code: def find_symbols(
      nodes: t.Iterable[nodes.Node],
      parent_symbols: t.Optional["Symbols"] = None,
  ) -> "Symbols":
      sym = Symbols(parent=parent_symbols)
      visitor = FrameSymbolVisitor(sym)
      for node in nodes:
          visitor.visit(node)
      return sym
  
imports: import typing
  from .None import nodes
  from .visitor import NodeVisitor
label_desc: Use image node_id 1 for calling a global function with example usage: find_symbols(nodes, parent_symbols) and returns: sym