code: def _find_packages_within(root_pkg: str, pkg_dir: _Path) -> List[str]:
      nested = PEP420PackageFinder.find(pkg_dir)
      return [root_pkg] + [".".join((root_pkg, n)) for n in nested]
  
imports: import itertools
  import os
  from fnmatch import fnmatchcase
  from glob import glob
  from pathlib import Path
  from typing import TYPE_CHECKING, Dict, Iterable, Iterator, List, Mapping, Optional, Tuple, Union
  import _distutils_hack.override
  from distutils import log
  from distutils.util import convert_path
label_desc: Use image node_id 2 for calling a global function with example usage: _find_packages_within(root_pkg, pkg_dir) and returns: unknown