code: def direct_children(parent):
      """
      Iterate over the direct children of 'parent' (not all descendants, like 'parent.walker()')
      """
      elem = parent.first_child
      while elem is not None:
          yield elem
          elem = elem.nxt
  
imports: import argparse
  import commonmark
  import nbformat
  import os
  import re
  import subprocess
  import sys
  import textwrap
  from pathlib import Path
label_desc: Use image node_id 13 for calling a global function with example usage: direct_children(parent) without return types