def METHOD_NAME(snippet_globs: List[str]) -> Dict[str, str]:
    """Walks the samples directory and parses snippets from each file.
    Args:
        snippet_globs (List[str]): List of path globs to expand.
    Returns:
        Dictionary of snippet name to snippet code.
    """
    snippets = {}
    for snippet_glob in snippet_globs:
        for file in glob.glob(snippet_glob, recursive=True):
            for snippet, code in all_snippets_from_file(file).items():
                snippets[snippet] = code
    return snippets